3 # Copyright (C) 2006 OpenWrt.org
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
16 open FIND
, "find $path -type f -and -not -path \\*.svn\\* -and -not -path \\*CVS\\* $options 2>/dev/null |";
21 my @stat = stat $file;
31 (@ARGV > 0) or push @ARGV, ".";
36 my $path = shift @ARGV;
38 my $str = shift @ARGV;
39 $options{"findopts"} .= " -and -not -path '".$str."'"
40 } elsif ($path =~ /^-f/) {
41 $options{"findopts"} .= " -follow";
42 } elsif ($path =~ /^-n/) {
44 $options{$path} = $arg;
45 } elsif ($path =~ /^-/) {
48 my ($tmp, $fname) = get_ts
($path, $options{"findopts"});
61 exit ($n eq $options{"-n"} ?
0 : 1);
62 } elsif ($options{"-p"}) {
64 } elsif ($options{"-t"}) {
This page took 0.070019 seconds and 5 git commands to generate.