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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? findstr.doc

?? 查找一個文件中指定的字符串
?? DOC
字號:
      FINDSTR.ARC - Find Multiple Strings in Multiple Files


Version 1.01:   August 5, 1986
Author:         Don A. Williams
Language:       Datalight C Developer's Kit, Version 2.03


FINDSTR  is  a  program that can be used to search multiple files 
for multiple text strings.  It was actually developed as  a  test 
program  for  a Boyer-Moore string search subroutine.  The Boyer-
Moore algorithm is many times faster than the more common  string 
search  algorithms and FINDSTR is several times faster than other 
similar  programs.  It  does  not  provide  the  complex  pattern 
matching  and  action statements of BAWK but is from 3 to 5 times 
faster than BAWK at finding simple strings.  


USAGE:

    A>FINDSTR [-c] file_spec [file_spec .....]

FINDSTR defaults to a case insensitive compare on the  assumption 
that  is  better  to find too many occurrences than to miss some.  
The '-C' command option  will  change  this  default  to  a  case 
sensitive  compare  if that is what is required.  The '-C' option 
can actually appear anywhere on the  command  line,  however,  no 
file name specification may begin with a '-' as a result.  

FINDSTR can accept multiple file specifications  on  the  command 
line  and  each file specification may be a full MS-DOS path name 
which,  complements of Datalight C,  may  contain  "wild  cards".  
FINDSTR  will read STDIN for the strings to be searched for.  The 
search strings are entered one per line and may  contain  blanks, 
quotes,  and  other  "special"  characters  but  may  not contain 
carriage returns or line feeds (in this  version).  FINDSTR  will 
quit  reading  search  strings  when  it encounters either a null 
line, i.e. a line containing only a carriage return or an End-of-
File (Control-Z).  Since STDIN may  be  redirected,  FINDSTR  can 
read the search strings from either the console or a file.  


OUTPUT:

For  each  file  that  it  processes,  FINDSTR will output a line 
containing the path name of the file followed by  line  for  each 
occurrence of one of the search strings in the file.  These lines 
will contain the search string found followed by a blank followed 
by  the  4-digit  decimal  line  number  of  the line in the file 
followed by a ':' followed  by  a  blank  followed  by  the  line 
itself.  


EXAMPLES:

Since  the  output  lines  of  FINDSTR will frequently exceed the 
length of the lines in this document,  they will be truncated  in 
these examples; a '>' character in the right margin will indicate 
that the line has been truncated.  

Example 1 - Search this document (to this point) for "the"


C>FINDSTR findstr.doc
FINDSTR Version 1.01: August 5, 1986

Enter search patterns, 1 per line
NULL line terminates
the

--findstr.doc--
the   12: Moore algorithm is many times faster than the more com>
the   13: search  algorithms and FINDSTR is several times faster>
the   14: similar  programs.  It  does  not  provide  the  compl>
the   23: FINDSTR can accept multiple file specifications  on  t>
the   26: FINDSTR  will read STDIN for the strings to be searche>
the   28: quotes,  and  other  "special"  characters  but  may  >
the   30: quit  reading  search  strings  when  it encounters ei>
the   33: read the search strings from either the console or a f>
the   39: containing the path name of the file followed by  line>
the   40: occurrence of one of the search strings in the file.  >
the   41: will contain the search string found followed by a bla>
the   42: by  the  4-digit  decimal  line  number  of  the line >
the   43: followed by a ':' followed  by  a  blank  followed  by>
the   49: Since  the  output  lines  of  FINDSTR will frequently>
the   50: length of the lines in this document,  they will be tr>
the   51: these examples; a '>' character in the right margin wi>
the   52: that the line has been truncated.  
the   54: Example 1 - Search this document (to this point) for ">
                                                                 

Example 2 - Search the C source files for this program for "if" 
            and "for".

C>FINDSTR *.c
FINDSTR Version 1.01: August 5, 1986

Enter search patterns, 1 per line
NULL line terminates
if
for

--BM.C--
for    7:     for (i=0; i<256; i++) d[i] = pl;
for    8:     for (i=0; i<pl-2; i++) d[Pattern[i]] = pl - i - 1;
if   28:     if (j < 0) return(io - pl);
--BMSEAR.C--
for    7:       for (i=0; i<256; i++) d[i] = pl;
for    8:       for (i=0; i<pl-1; i++) {
if   30:        if (j < 0) return(io - pl);
--FINDSTR.C--
if   35:                if (pl == 0) break;
if   37:                if (t == NULL) {
for   38:                   fprintf(stderr, "Insufficient memory>
if   42:                if (t->Pattern == 0) {
for   43:                   fprintf(stderr, "Insufficient memory>
if   47:                if (t->d == 0) {
for   48:                       fprintf(stderr, "Insufficient me>
if   54:                if (PatQueue.Head == NULL) PatQueue.Head>
for   58:       for (fp=1; fp<argc; fp++) {
if   59:                if ((F1 = fopen(argv[fp], "r")) == 0) {
for   69:                       for (t=PatQueue.Head; t != NULL;>
if   70:                                if ((p = BMSearch(Line, >

This example could also have been run by  creating  a  file,  say 
INPUT,  containing  the  search strings,  one string to a line as 
follows: 

    if
    for

The command line would then be:

C>FINDSTR *.c <input

The output would be the same as shown  above.  The  output  could 
also have been redirected to a file by the command line: 

C>FINDSTR *.C <input >output

In this case, all of the output from the first file name on would 
have been put in the file,  OUTPUT.  Input and output redirection 
are independent, i.e. either may be used without the other.  


TECHNICAL CONSIDERATIONS:

The "heart" of this program  is  the  Boyer-Moore  string  search 
algorithm.  This  algorithm  is the fastest known on the average.  
The description of how  it  works  is  somewhat  complex  and  is 
presented  in  "Data Structures and Algorithms" by Niklaus Wirth, 
pages 66-69 and by the inventors R. S. Boyer and J.  S.  Moore in 
"A Fast String Matching Algorithm",  Communications of  the  ACM, 
20,  10,  (Oct.  1977),  pp 762-772.  The algorithm does required 
"compilation" of  each  search  string  and  is  best  suited  to 
conditions  where  the  data  to be search is considerably larger 
than the search string.  The routine,  BMCompile,  in the module, 
BMSEAR,  performs the compilation and the routine,  BMSearch,  in 
the same module performs  the  actual  search.  For  each  search 
string,  the  algorithm  requires  a  integer  array  to hold the 
"compiled" string as well as space to retain the  string  itself.  
I  have  chosen  to  make  these arrays 256 entries long to allow 
strings to contain characters above the standard ASCII 128.  

FINDSTR forms the input search strings into  a  simple  First-In-
First-Out  (FIFO)  linked  list,  acquiring  memory  for both the 
string itself and for its "compiled" array dynamically.  

The expansion of "wild card" file specifications on  the  command 
line  is  performed  by  a  proprietary  module supplied with the 
Datalight C compiler,  however,  other good C  compilers  provide 
similar  facilities.   Outside  of  the  "wild  card"  expansion, 
FINDSTR and BMSEAR are very "standard" C and should be compilable 
by any other C compiler.  

A similar Boyer-Moore search algorithm is also available in Turbo 
Pascal.  


COPYRIGHT CONSIDERATIONS:

As far as I can determine,  everything  in  FINDSTR  and  BMSEAR, 
except  the expansion of "wild card" command line parameters,  is 
in the public domain and no copyright restrictions  apply.  Since 
the   total  development  time  for  this  program  from  initial 
conception to the production of this document was under 9  hours, 
the  usual  request  for  "donations" is absurd.  The author,  of 
course,   disclaims  liability  for  any  damages  of  any   kind 
whatsoever  arising  from  the  use of this program or any of its 
component parts.  


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩免费看的电影| 夜夜嗨av一区二区三区网页| 一区二区三区在线观看网站| 韩国一区二区在线观看| 99精品久久久久久| 欧美猛男超大videosgay| 一区视频在线播放| 国产老肥熟一区二区三区| 欧美精品日韩精品| 亚洲精品免费在线| 成人看片黄a免费看在线| 日韩一区二区三区在线视频| 一区二区三区在线视频观看| 成人激情综合网站| 精品国产99国产精品| 天天色天天操综合| 在线视频国内一区二区| 中文字幕av一区二区三区| 精品一区二区三区免费播放| 91精品国产综合久久精品app| 亚洲综合无码一区二区| 精一区二区三区| 91精品国产全国免费观看 | 91毛片在线观看| 国产亚洲精品超碰| 精品一区精品二区高清| 欧美亚洲国产一区二区三区va | 欧美日韩国产片| 亚洲最新在线观看| 色94色欧美sute亚洲13| 一区二区三区日韩欧美精品| 97超碰欧美中文字幕| 国产精品色在线观看| 成人精品视频一区| 国产精品国产自产拍高清av | 亚洲国产精品国自产拍av| 国产风韵犹存在线视精品| 337p日本欧洲亚洲大胆色噜噜| 欧美国产精品v| 国产精品夜夜嗨| 久久品道一品道久久精品| 国模冰冰炮一区二区| 久久久亚洲欧洲日产国码αv| 国产精品久久久久aaaa樱花 | 人人爽香蕉精品| 91精品国产综合久久小美女| 日产精品久久久久久久性色| 欧美一区二区三区免费在线看| 久久婷婷综合激情| 美女诱惑一区二区| 国产午夜精品一区二区三区嫩草 | 尤物在线观看一区| 欧美午夜精品一区| 亚洲va在线va天堂| 欧美tickling网站挠脚心| 精品亚洲国内自在自线福利| 亚洲国产精品精华液ab| 色婷婷亚洲综合| 裸体歌舞表演一区二区| 国产精品乱码久久久久久| 91久久精品日日躁夜夜躁欧美| 久久综合九色综合97婷婷| 成人理论电影网| 亚洲超丰满肉感bbw| 久久网站最新地址| 色哦色哦哦色天天综合| 极品少妇一区二区| 亚洲精品成人天堂一二三| 精品日韩一区二区| 日本二三区不卡| 老司机免费视频一区二区| 中文字幕不卡在线观看| 欧美日本在线一区| 成人污污视频在线观看| 五月婷婷另类国产| 国产精品美女久久久久久久 | 国产欧美日韩视频在线观看| 91麻豆福利精品推荐| 伦理电影国产精品| 一区二区三区自拍| 国产欧美一区二区三区网站 | 婷婷久久综合九色综合伊人色| 99精品久久99久久久久| 日本成人中文字幕| 一区二区三区精品| 欧美国产一区二区| 精品国产91亚洲一区二区三区婷婷 | 亚洲美女免费在线| 2023国产精品自拍| 7777精品伊人久久久大香线蕉经典版下载| 亚洲欧美激情一区二区| 日韩欧美中文字幕精品| 欧美性做爰猛烈叫床潮| 波多野结衣在线aⅴ中文字幕不卡| 精品成人一区二区三区| 欧美日韩国产免费一区二区| 成人午夜电影小说| 国产一区二区中文字幕| 日本女优在线视频一区二区| 亚洲精品视频在线观看免费| 国产精品久久久久久久久久久免费看| 国产成人在线看| 国产精品自拍在线| 国产精品综合二区| 国产一区二区三区高清播放| 日韩成人伦理电影在线观看| 亚洲高清免费在线| 亚洲电影一区二区| 亚洲成人www| 天堂资源在线中文精品| 亚洲图片欧美视频| 亚洲18女电影在线观看| 亚洲大片一区二区三区| 亚洲成人精品一区二区| 性做久久久久久免费观看欧美| 日韩三级电影网址| 欧美成人激情免费网| 欧美老年两性高潮| 欧美一区午夜精品| 日韩久久免费av| 亚洲精品一区在线观看| 久久精品一区二区三区四区| 久久夜色精品一区| 日本一区二区三级电影在线观看| 91看片淫黄大片一级| 色先锋久久av资源部| 欧美三级视频在线| 欧美日韩三级视频| 欧美日韩一级二级三级| 欧美一区二区不卡视频| 精品福利一区二区三区免费视频| 一道本成人在线| 欧美日韩国产综合视频在线观看| 国产福利91精品一区二区三区| 一区二区激情小说| 青青草原综合久久大伊人精品| 国产精品国产三级国产专播品爱网 | 国产白丝网站精品污在线入口| 亚洲精品一卡二卡| 日本欧美一区二区三区| 国产精品538一区二区在线| 99国产精品国产精品毛片| 在线视频国内自拍亚洲视频| 欧美日韩一卡二卡| 久久久久久久久97黄色工厂| 综合久久国产九一剧情麻豆| 性感美女久久精品| 国产精品 欧美精品| 一本久久a久久精品亚洲| 欧美一区二区久久久| 中文字幕日本不卡| 日韩精品免费专区| av一区二区久久| 欧美精品一卡两卡| 国产精品私人影院| 天堂久久久久va久久久久| 国产99精品在线观看| 欧美日韩中文精品| 欧美国产精品中文字幕| 日韩**一区毛片| 91社区在线播放| 精品成人a区在线观看| 亚洲一区二区三区三| 国产大陆亚洲精品国产| 欧美精品乱码久久久久久按摩| 欧美精品久久一区| 亚洲国产岛国毛片在线| 麻豆国产欧美一区二区三区| 91浏览器在线视频| 国产欧美日韩卡一| 久久99在线观看| 欧美日韩在线精品一区二区三区激情 | 国产剧情av麻豆香蕉精品| 欧美日韩一二三| 1区2区3区国产精品| 国产一区二区看久久| 3atv在线一区二区三区| 一区二区三区中文在线观看| 国产成人综合网站| 欧美大片免费久久精品三p| 亚洲第一电影网| 99精品久久免费看蜜臀剧情介绍| 色综合久久99| 国产精品无遮挡| 免费国产亚洲视频| 69堂亚洲精品首页| 亚洲福利视频导航| 91视频免费看| 国产精品二区一区二区aⅴ污介绍| 亚洲视频一区在线| 国产夫妻精品视频| 久久久www成人免费无遮挡大片| 中文字幕巨乱亚洲| 国产99精品在线观看| 欧美国产精品久久| 岛国av在线一区| 中文字幕乱码日本亚洲一区二区 | 亚洲综合丁香婷婷六月香| 国产成人av电影在线播放| 久久久亚洲精品一区二区三区|