| 单词 |
grep |
| 释义 |
DictionarySeeUNIXgrep
grep (tool, information science) A Unix command forsearching files for lines matching a given regular expression (RE). Named after the qed/ed editorsubcommand "g/re/p", where re stands for a regular expression,to Globally search for the Regular Expression and Print thelines containing matches to it. There are two other variants,fgrep which searches only for fixed strings and egrep whichaccepts extended REs but is usually the fastest of the three.
Used by extension to mean "to look for something by pattern".When browsing through a large set of files, one may speak of"grepping around". "Grep the bulletin board for the systembackup schedule, would you?" See also vgrep.grep(Global Regular Expression and Print) A Unix pattern matching utility that searches files for a string of text and outputs the line that contains the pattern. Grep came from ed, a Unix text editor, in which the command g/re/p meant "display all text in the file that matches this." That single function became a utility itself, available on all major platforms today. This is an example of the rich family of command line functions built into Unix long before Windows
The following real life example used grep to find occurrences of the text "xfiles.lst" within any .CMD files in the default folder. The results show the matching files and text. See Unix.
 | | Grep Windows Example |
|---|
| The command grep "xfiles.lst" *.cmd looks for CMD files that contain the text xfiles.lst. Grep found NEWXMLM.CMD and WHATSNEW.CMD matching the text string. | LegalSeefindGREP
| Acronym | Definition |
|---|
| GREP➣Global Regular Expression Parser (UNIX) | | GREP➣Get Replace Print | | GREP➣Global Regular Expression Program | | GREP➣Generalized Regular Expression Parser | | GREP➣Global Regular Expression Print (UNIX) | | GREP➣Global Rinderpest Eradication Programme | | GREP➣Groupe de Recherche pour l'Education et la Prospective | | GREP➣Global Registered Education Provider | | GREP➣Graphite-Epoxy (materials science) | | GREP➣Green Parakeet (bird species) | | GREP➣Get Regular Expression Processing (less common) |
|
| 随便看 |
- smith county area libraries together
- smith county, kansas
- smith county, ks
- smith county, mississippi
- smith county, ms
- smith county, tennessee
- smith county, texas
- smith county, tn
- smith county, tx
- smith, c. r.
- smithcraft
- smith, cyrus
- smith, dame maggie
- smith, dave
- smith david
- smith, david
- smith, david eugene
- smith, david (roland)
- smith, david w
- smith, david w.
- smith, dean edwards
- smith diagram
- smith (disambiguation)
- smith dislocation
- smith, donald alexander
|