亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? search.pl

?? UNIX下perl實現代碼
?? PL
?? 第 1 頁 / 共 4 頁
字號:
#!/usr/local/bin/perl -w'di';'ig00';################################################################################## search#### Jeffrey Friedl (jfriedl@omron.co.jp), Dec 1994.## Copyright 19.... ah hell, just take it.#### BLURB:## A combo of find and grep -- more or less do a 'grep' on a whole## directory tree. Fast, with lots of options. Much more powerful than## the simple "find ... | xargs grep ....". Has a full man page.## Powerfully customizable.#### This file is big, but mostly comments and man page.#### See man page for usage info.## Return value: 2=error, 1=nothing found, 0=something found.##$version = "950918.5";#### "950918.5";##	Changed all 'sysread' to 'read' because Linux perl's don't seem##	to like sysread()#### "941227.4";##	Added -n, -u#### "941222.3"##      Added -nice (due to Lionel Cons <Lionel.Cons@cern.ch>)##	Removed any leading "./" from name.##      Added default flags for ~/.search, including TTY, -nice, -list, etc.##	Program name now has path removed when printed in diagnostics.##	Added simple tilde-expansion to -dir arg.##	Added -dskip, etc. Fixed -iregex bug.##	Changed -dir to be additive, adding -ddir.##	Now screen out devices, pipes, and sockets.##	More tidying and lots of expanding of the man page###### "941217.2";##	initial release.$stripped=0;&init;if (exists $ENV{'HOME'}) {    $rc_file = join('/', $ENV{'HOME'}, ".search");}else {    $rc_file = "";}&check_args;## Make sure we've got a regex.## Don't need one if -find or -showrc was specified.$!=2, die "expecting regex arguments.\n"	if $FIND_ONLY == 0 && $showrc == 0 && @ARGV == 0;&prepare_to_search($rc_file);&import_program if !defined &dodir; ## BIG key to speed.## do search while there are directories to be done.&dodir(shift(@todo)) while @todo;&clear_message if $VERBOSE && $STDERR_IS_TTY;exit($retval);###############################################################################sub init{  ## initialize variables that might be reset by command-line args  $DOREP=0; 		## set true by -dorep (redo multi-hardlink files)  $DOREP=1 if $^O eq 'MSWin32';  $DO_SORT=0;           ## set by -sort (sort files in a dir before checking)  $FIND_ONLY=0;         ## set by -find (don't search files)  $LIST_ONLY=0;		## set true by -l (list filenames only)  $NEWER=0;             ## set by -newer, "-mtime -###"  $NICE=0;              ## set by -nice (print human-readable output)  $NOLINKS=0; 		## set true by -nolinks (don't follow symlinks)  $OLDER=0;             ## set by -older, "-mtime  ###"  $PREPEND_FILENAME=1;  ## set false by -h (don't prefix lines with filename)  $REPORT_LINENUM=0;    ## set true by -n (show line numbers)  $VERBOSE=0;		## set to a value by -v, -vv, etc. (verbose messages)  $WHY=0;		## set true by -why, -vvv+ (report why skipped)  $XDEV=0;		## set true by -xdev (stay on one filesystem)  $all=0;		## set true by -all (don't skip many kinds of files)  $iflag = '';		## set to 'i' by -i (ignore case);  $norc=0;              ## set by -norc (don't load rc file)  $showrc=0;            ## set by -showrc (show what happens with rc file)  $underlineOK=0;       ## set true by -u (watch for underline stuff)  $words=0;             ## set true by -w (match whole-words only)  $DELAY=0;		## inter-file delay (seconds)  $retval=1;            ## will set to 0 if we find anything.  ## various elements of stat() that we might access  $STAT_DEV   = 1;  $STAT_INODE = 2;  $STAT_MTIME = 9;  $VV_PRINT_COUNT = 50;  ## with -vv, print every VV_PRINT_COUNT files, or...  $VV_SIZE = 1024*1024;  ## ...every VV_SIZE bytes searched  $vv_print = $vv_size = 0; ## running totals.  ## set default options, in case the rc file wants them  $opt{'TTY'}= 1 if -t STDOUT;    ## want to know this for debugging message stuff  $STDERR_IS_TTY = -t STDERR ? 1 : 0;  $STDERR_SCREWS_STDOUT = ($STDERR_IS_TTY && -t STDOUT) ? 1 : 0;  $0 =~ s,.*/,,;  ## clean up $0 for any diagnostics we'll be printing.}#### Check arguments.##sub check_args{  while (@ARGV && $ARGV[0] =~ m/^-/)  {      $arg = shift(@ARGV);      if ($arg eq '-version' || ($VERBOSE && $arg eq '-help')) {	  print qq/Jeffrey's file search, version "$version".\n/;	  exit(0) unless $arg eq '-help';      }      if ($arg eq '-help') {	  print <<INLINE_LITERAL_TEXT;usage: $0 [options] [-e] [PerlRegex ....]OPTIONS TELLING *WHERE* TO SEARCH:  -dir DIR       start search at the named directory (default is current dir).  -xdev          stay on starting file system.  -sort          sort the files in each directory before processing.  -nolinks       don't follow symbolic links.OPTIONS TELLING WHICH FILES TO EVEN CONSIDER:  -mtime #       consider files modified > # days ago (-# for < # days old)  -newer FILE    consider files modified more recently than FILE (also -older)  -name GLOB     consider files whose name matches pattern (also -regex).  -skip GLOB     opposite of -name: identifies files to not consider.  -path GLOB     like -name, but for files whose whole path is described.  -dpath/-dregex/-dskip versions for selecting or pruning directories.  -all           don't skip any files marked to be skipped by the startup file.  -x<SPECIAL>    (see manual, and/or try -showrc).  -why           report why a file isn't checked (also implied by -vvvv).OPTIONS TELLING WHAT TO DO WITH FILES THAT WILL BE CONSIDERED:  -f  | -find    just list files (PerlRegex ignored). Default is to grep them.  -ff | -ffind   Does a faster -find (implies -find -all -dorep)OPTIONS CONTROLLING HOW THE SEARCH IS DONE (AND WHAT IS PRINTED):  -l | -list     only list files with matches, not the lines themselves.  -nice | -nnice print more "human readable" output.  -n             prefix each output line with its line number in the file.  -h             don't prefix output lines with file name.  -u             also look "inside" manpage-style underlined text  -i             do case-insensitive searching.  -w             match words only (as defined by perl's \\b).OTHER OPTIONS:  -v, -vv, -vvv  various levels of message verbosity.  -e             end of options (in case a regex looks like an option).  -showrc        show what the rc file sets, then exit.  -norc          don't load the rc file.  -dorep         check files with multiple hard links multiple times.INLINE_LITERAL_TEXT	print "Use -v -help for more verbose help.\n" unless $VERBOSE;	print "This script file is also a man page.\n" unless $stripped;	print <<INLINE_LITERAL_TEXT if $VERBOSE;If -f (or -find) given, PerlRegex is optional and ignored.Otherwise, will search for files with lines matching any of the given regexes.Combining things like -name and -mtime implies boolean AND.However, duplicating things (such as -name '*.c' -name '*.txt') implies OR.-mtime may be given floating point (i.e. 1.5 is a day and a half).-iskip/-idskip/-ipath/... etc are case-insensitive versions.If any letter in -newer/-older is upper case, "or equal" isinserted into the test.You can always find the latest version on the World Wide Web in   http://www.wg.omron.co.jp/~jfriedl/perl/INLINE_LITERAL_TEXT	  exit(0);      }      $DOREP=1,             next if $arg eq '-dorep';   ## do repeats      $DO_SORT=1,           next if $arg eq '-sort';    ## sort files      $NOLINKS=1,           next if $arg eq '-nolinks'; ## no sym. links      $PREPEND_FILENAME=0,  next if $arg eq '-h';       ## no filename prefix      $REPORT_LINENUM=1,    next if $arg eq '-n';       ## show line numbers      $WHY=1,               next if $arg eq '-why';     ## tell why skipped      $XDEV=1,              next if $arg eq '-xdev';    ## don't leave F.S.      $all=1,$opt{'-all'}=1,next if $arg eq '-all';     ## don't skip *.Z, etc      $iflag='i',           next if $arg eq '-i';       ## ignore case      $norc=1,              next if $arg eq '-norc';    ## don't load rc file      $showrc=1,            next if $arg eq '-showrc';  ## show rc file      $underlineOK=1,       next if $arg eq '-u';       ## look throuh underln.      $words=1,             next if $arg eq '-w';       ## match "words" only      &strip                     if $arg eq '-strip';   ## dump this program      last                       if $arg eq '-e';      $DELAY=$1,            next if $arg =~ m/-delay(\d+)/;      $FIND_ONLY=1,         next if $arg =~/^-f(ind)?$/;## do "find" only      $FIND_ONLY=1, $DOREP=1, $all=1,                            next if $arg =~/^-ff(ind)?$/;## fast -find      $LIST_ONLY=1,$opt{'-list'}=1,		            next if $arg =~/^-l(ist)?$/;## only list files      if ($arg =~ m/^-(v+)$/) { ## verbosity	$VERBOSE =length($1);	foreach $len (1..$VERBOSE) { $opt{'-'.('v' x $len)}=1 }	next;      }      if ($arg =~ m/^-(n+)ice$/) { ## "nice" output        $NICE =length($1);	foreach $len (1..$NICE) { $opt{'-'.('n' x $len).'ice'}=1 }	next;      }      if ($arg =~ m/^-(i?)(d?)skip$/) {	  local($i) = $1 eq 'i';	  local($d) = $2 eq 'd';	  $! = 2, die qq/$0: expecting glob arg to -$arg\n/ unless @ARGV;	  foreach (split(/\s+/, shift @ARGV)) {	      if ($d) {		  $idskip{$_}=1 if $i;		   $dskip{$_}=1;	      } else {		  $iskip{$_}=1 if $i;		   $skip{$_}=1;	      }	  }	  next;      }      if ($arg =~ m/^-(i?)(d?)(regex|path|name)$/) {	  local($i) = $1 eq 'i';	  $! = 2, die qq/$0: expecting arg to -$arg\n/ unless @ARGV;	  foreach (split(/\s+/, shift @ARGV)) {	      $iname{join(',', $arg, $_)}=1 if $i;	       $name{join(',', $arg, $_)}=1;	  }	  next;      }      if ($arg =~ m/^-d?dir$/) {	  $opt{'-dir'}=1;	  $! = 2, die qq/$0: expecting filename arg to -$arg\n/ unless @ARGV;	  $start = shift(@ARGV);	  $start =~ s#^~(/+|$)#$ENV{'HOME'}$1# if defined $ENV{'HOME'};	  $! = 2, die qq/$0: can't find ${arg}'s "$start"\n/ unless -e $start;	  $! = 2, die qq/$0: ${arg}'s "$start" not a directory.\n/ unless -d _;	  undef(@todo), $opt{'-ddir'}=1 if $arg eq '-ddir';	  push(@todo, $start);	  next;      }      if ($arg =~ m/^-(new|old)er$/i) {	  $! = 2, die "$0: expecting filename arg to -$arg\n" unless @ARGV;	  local($file, $time) = shift(@ARGV);	  $! = 2, die qq/$0: can't stat -${arg}'s "$file"./		  unless $time = (stat($file))[$STAT_MTIME];	  local($upper) = $arg =~ tr/A-Z//;	  if ($arg =~ m/new/i) {	     $time++ unless $upper;	     $NEWER = $time if $NEWER < $time;	  } else {	     $time-- unless $upper;	     $OLDER = $time if $OLDER == 0 || $OLDER > $time;	  }	  next;      }      if ($arg =~ m/-mtime/) {	  $! = 2, die "$0: expecting numerical arg to -$arg\n" unless @ARGV;	  local($days) = shift(@ARGV);	  $! = 2, die qq/$0: inappropriate arg ($days) to $arg\n/ if $days==0;	  $days *= 3600 * 24;	  if ($days < 0) {	      local($time) = $^T + $days;	      $NEWER = $time if $NEWER < $time;	  } else {	      local($time) = $^T - $days;  	      $OLDER = $time if $OLDER == 0 || $OLDER > $time;	  }	  next;      }      ## special user options      if ($arg =~ m/^-x(.+)/) {	  foreach (split(/[\s,]+/, $1)) {  $user_opt{$_} = $opt{$_}= 1;  }	  next;      }      $! = 2, die "$0: unknown arg [$arg]\n";  }}#### Given a filename glob, return a regex.## If the glob has no globbing chars (no * ? or [..]), then## prepend an effective '*' to it.##sub glob_to_regex{    local($glob) = @_;    local(@parts) = $glob =~ m/\\.|[*?]|\[]?[^]]*]|[^[\\*?]+/g;    local($trueglob)=0;    foreach (@parts) {	if ($_ eq '*' || $_ eq '?') {	    $_ = ".$_";	    $trueglob=1;  ## * and ? are a real glob	} elsif (substr($_, 0, 1) eq '[') {	    $trueglob=1;  ## [..] is a real glob	} else {	    s/^\\//;     ## remove any leading backslash;	    s/\W/\\$&/g; ## now quote anything dangerous;	}    }    unshift(@parts, '.*') unless $trueglob;    join('', '^', @parts, '$');}sub prepare_to_search{  local($rc_file) = @_;  $HEADER_BYTES=0;          ## Might be set nonzero in &read_rc;  $last_message_length = 0; ## For &message and &clear_message.  &read_rc($rc_file, $showrc) unless $norc;  exit(0) if $showrc;  $NEXT_DIR_ENTRY = $DO_SORT ? 'shift @files' : 'readdir(DIR)';  $WHY = 1 if $VERBOSE > 3; ## Arg -vvvv or above implies  -why.  @todo = ('.') if @todo == 0; ## Where we'll start looking  ## see if any user options were specified that weren't accounted for  foreach $opt (keys %user_opt) {      next if defined $seen_opt{$opt};      warn "warning: -x$opt never considered.\n";  }  die "$0: multiple time constraints exclude all possible files.\n"      if ($NEWER && $OLDER) && ($NEWER > $OLDER);  ##  ## Process any -skip/-iskip args that had been given  ##  local(@skip_test);  foreach $glob (keys %skip) {      $i = defined($iskip{$glob}) ? 'i': '';      push(@skip_test, '$name =~ m/'. &glob_to_regex($glob). "/$i");  }  if (@skip_test) {      $SKIP_TEST = join('||',@skip_test);      $DO_SKIP_TEST = 1;  } else {      $DO_SKIP_TEST = $SKIP_TEST = 0;  }  ##  ## Process any -dskip/-idskip args that had been given  ##  local(@dskip_test);  foreach $glob (keys %dskip) {      $i = defined($idskip{$glob}) ? 'i': '';      push(@dskip_test, '$name =~ m/'. &glob_to_regex($glob). "/$i");  }  if (@dskip_test) {      $DSKIP_TEST = join('||',@dskip_test);      $DO_DSKIP_TEST = 1;  } else {      $DO_DSKIP_TEST = $DSKIP_TEST = 0;  }  ##  ## Process any -name, -path, -regex, etc. args that had been given.  ##  undef @name_test;  undef @dname_test;  foreach $key (keys %name) {      local($type, $pat) = split(/,/, $key, 2);      local($i) = defined($iname{$key}) ? 'i' : '';      if ($type =~ /regex/) {	  $pat =~ s/!/\\!/g;	  $test = "\$name =~ m!^$pat\$!$i";      } else {	  local($var) = $type eq 'name' ? '$name' : '$file';	  $test = "$var =~ m/". &glob_to_regex($pat). "/$i";      }      if ($type =~ m/^-i?d/) {	  push(@dname_test, $test);      } else {	  push(@name_test, $test);      }  }  if (@name_test) {      $GLOB_TESTS = join('||', @name_test);      $DO_GLOB_TESTS = 1;  } else {      $GLOB_TESTS = $DO_GLOB_TESTS = 0;  }  if (@dname_test) {      $DGLOB_TESTS = join('||', @dname_test);      $DO_DGLOB_TESTS = 1;  } else {      $DGLOB_TESTS = $DO_DGLOB_TESTS = 0;  }  ##  ## Process any 'magic' things from the startup file.  ##  if (@magic_tests && $HEADER_BYTES) {      ## the $magic' one is for when &dodir is not inlined      $tests = join('||',@magic_tests);      $MAGIC_TESTS = " { package magic; \$val = ($tests) }";      $DO_MAGIC_TESTS = 1;  } else {      $MAGIC_TESTS = 1;      $DO_MAGIC_TESTS = 0;  }  ##  ## Prepare regular expressions.  ##  {      local(@regex_tests);      if ($LIST_ONLY) {	 $mflag = '';	 ## need to have $* set, but perl5 just won''t shut up about it.	 if ($] >= 5) {	      $mflag = 'm';	 } else {	      eval ' $* = 1 ';	 }      }      ##      ## Until I figure out a better way to deal with it,      ## We have to worry about a regex like [^xyz] when doing $LIST_ONLY.      ## Such a regex *will* match \n, and if I'm pulling in multiple      ## lines, it can allow lines to match that would otherwise not match.      ##      ## Therefore, if there is a '[^' in a regex, we can NOT take a chance      ## an use the fast listonly.      ##      $CAN_USE_FAST_LISTONLY = $LIST_ONLY;      local(@extra);      local($underline_glue) = ($] >= 5) ? '(:?_\cH)?' : '(_\cH)?';      while (@ARGV) {          $regex = shift(@ARGV);	  ##	  ## If watching for underlined things too, add another regex.	  ##	  if ($underlineOK) {	     if ($regex =~ m/[?*+{}()\\.|^\$[]/) {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99视频精品在线| 亚洲欧洲日韩av| 日欧美一区二区| 在线一区二区三区四区| 亚洲欧美日韩系列| 成人动漫精品一区二区| 亚洲国产岛国毛片在线| 免费日本视频一区| 日韩欧美卡一卡二| 激情伊人五月天久久综合| 精品久久久久久综合日本欧美| 日韩精品国产欧美| 欧美不卡一区二区三区| 日韩高清在线观看| 欧美va亚洲va香蕉在线| 麻豆精品国产91久久久久久| 欧美大片免费久久精品三p| 麻豆久久久久久久| 51午夜精品国产| 蜜臀精品一区二区三区在线观看| 欧美大肚乱孕交hd孕妇| 国内精品久久久久影院一蜜桃| 久久亚洲春色中文字幕久久久| 日本不卡一区二区三区高清视频| 日韩欧美色电影| 国产高清视频一区| 亚洲欧美日韩综合aⅴ视频| 欧美午夜精品久久久久久超碰| 艳妇臀荡乳欲伦亚洲一区| 欧美日韩免费一区二区三区 | 国产成人自拍网| 国产亚洲精品久| 在线观看一区二区视频| 久久国产精品色| 国产精品视频第一区| 色婷婷av久久久久久久| 天天做天天摸天天爽国产一区 | 18成人在线观看| 欧美日韩情趣电影| 国产一区二区三区免费| 亚洲综合在线免费观看| 精品国产电影一区二区| 韩国理伦片一区二区三区在线播放| 中文字幕国产一区| 91官网在线观看| 麻豆精品视频在线观看免费| 综合av第一页| 日韩一区二区视频在线观看| 成人app软件下载大全免费| 亚洲h在线观看| 精品国产成人在线影院 | 成人av电影免费在线播放| 亚洲超碰精品一区二区| 欧美一区三区二区| av成人免费在线观看| 老司机精品视频在线| 亚洲精品videosex极品| 久久综合中文字幕| 欧美在线你懂的| 国产91精品一区二区| 日本中文字幕一区二区有限公司| 中文一区二区在线观看| 91麻豆精品国产91久久久使用方法 | 色久综合一二码| 久久99精品国产91久久来源| 亚洲精品ww久久久久久p站| 中文字幕永久在线不卡| 欧美精品777| 日本高清不卡在线观看| 成人午夜激情视频| 韩国女主播一区二区三区| 亚洲成在人线在线播放| 国产拍欧美日韩视频二区| 欧美一级艳片视频免费观看| 色综合久久久网| 成人在线视频首页| 国产麻豆精品久久一二三| 图片区小说区区亚洲影院| 亚洲欧美国产高清| 日韩毛片精品高清免费| 日韩三区在线观看| 欧美另类久久久品| 欧美四级电影在线观看| 色婷婷亚洲精品| 北岛玲一区二区三区四区| 成人激情文学综合网| 国产成人无遮挡在线视频| 国产综合色精品一区二区三区| 日韩av一区二区在线影视| 婷婷综合五月天| 三级一区在线视频先锋| 日韩电影一区二区三区| 精品一区二区在线视频| 高清久久久久久| 色综合久久综合| 4438亚洲最大| 久久品道一品道久久精品| 欧美va在线播放| 中文字幕+乱码+中文字幕一区| 亚洲欧美日韩在线播放| 秋霞成人午夜伦在线观看| 国产黑丝在线一区二区三区| 色国产综合视频| 日韩午夜精品视频| 国产欧美一区二区精品秋霞影院 | 久久综合色婷婷| 成人欧美一区二区三区1314| 亚洲一区二区三区美女| 激情深爱一区二区| 色成年激情久久综合| 日韩午夜电影在线观看| 中文字幕日韩欧美一区二区三区| 亚洲国产一区二区三区| 精品一区二区免费看| 91麻豆精东视频| 精品少妇一区二区三区在线播放| 国产精品久久久久久久久快鸭 | 一二三四社区欧美黄| 丝瓜av网站精品一区二区| 国产成人免费av在线| 欧美老年两性高潮| 国产精品久久久久国产精品日日| 日韩高清不卡在线| www.欧美色图| 精品久久久久久久人人人人传媒| 亚洲欧美一区二区久久| 国产一区二区三区美女| 欧美精品免费视频| 亚洲男女一区二区三区| 国产精品综合av一区二区国产馆| 欧美伊人久久久久久午夜久久久久| 久久亚洲一区二区三区四区| 午夜免费久久看| 色婷婷综合五月| 国产拍揄自揄精品视频麻豆| 日本v片在线高清不卡在线观看| www.久久精品| 久久精品欧美一区二区三区不卡| 午夜精品视频在线观看| 9i在线看片成人免费| 国产午夜三级一区二区三| 另类欧美日韩国产在线| 欧美日韩国产123区| 伊人色综合久久天天| 波多野洁衣一区| 日本一区二区三区电影| 精品夜夜嗨av一区二区三区| 666欧美在线视频| 亚洲不卡一区二区三区| 91麻豆.com| 亚洲视频你懂的| 成人久久视频在线观看| 国产色一区二区| 国产在线精品视频| 欧美精品一区二区久久婷婷| 美腿丝袜在线亚洲一区| 91精品久久久久久蜜臀| 天堂av在线一区| 欧美电影在线免费观看| 偷拍与自拍一区| 91麻豆精品国产91久久久久久久久 | 精品视频一区三区九区| 亚洲日本在线看| 一本色道久久综合亚洲精品按摩| 国产精品电影一区二区三区| 国产成人在线视频播放| 欧美激情中文不卡| 成人午夜又粗又硬又大| 国产精品久久久久影院色老大| 成人h动漫精品一区二| 亚洲欧洲精品成人久久奇米网| 95精品视频在线| 艳妇臀荡乳欲伦亚洲一区| 欧美老肥妇做.爰bbww视频| 蜜臀av性久久久久蜜臀aⅴ四虎| 91精品国产色综合久久不卡电影| 青青草97国产精品免费观看| 欧美大黄免费观看| 成人亚洲一区二区一| 中文字幕一区在线观看视频| 在线观看视频一区二区欧美日韩| 亚洲二区视频在线| 欧美一级久久久久久久大片| 国产在线国偷精品产拍免费yy| 国产日本亚洲高清| 色视频一区二区| 三级一区在线视频先锋 | 91精品福利视频| 午夜婷婷国产麻豆精品| 欧美xxxxx牲另类人与| 激情另类小说区图片区视频区| 国产欧美1区2区3区| 色婷婷综合久色| 麻豆一区二区在线| 国产精品美女久久福利网站| 欧美影院午夜播放| 国产一区二区三区在线看麻豆| 中文字幕一区日韩精品欧美| 欧美精品第1页| 国产成人免费高清|