|
| |
| | Grep - Wikipedia, the free encyclopedia |
 | | Tcgrep is a rewrite of grep and uses Perl regular expression syntax. |  | | There are many derivatives of grep, for example agrep which stands for approximate grep to facilitate fuzzy string searching, fgrep for fixed pattern searches, and egrep for searches involving more sophisticated regular expression syntax. |  | | All these variations of grep have been ported to many computer operating systems. |
|
http://en.wikipedia.org/wiki/Grep
|
|
| |
| | LinuxQuestions.org Man Pages Online |
 | | Grep understands two different versions of regular expression syntax: "basic" and "extended." In GNU grep, there is no difference in avail- able functionality using either syntax. |  | | Warning: grep --binary-files=text might output binary garbage, which can have nasty side effects if the output is a terminal and if the termi- nal driver interprets some of it as commands. |  | | By default, TYPE is binary, and grep normally outputs either a one-line mes- sage saying that a binary file matches, or no message if there is no match. |
|
http://man.linuxquestions.org/index.php?query=grep
|
|
| |
| | Info: (grep.info.gz) Usage |
 | | If `grep' listed all matching "lines" from a binary file, it would probably generate output that is not useful, and it might even muck up your display. |  | | To force GNU `grep' to output lines even from files that appear to be binary, use the `-a' or `--binary-files=text' option. |  | | So GNU `grep' suppresses output from files that appear to be binary files. |
|
http://www.cit.gu.edu.au/teaching/2105CIT/cgi-bin/info2html.cgi?(grep.info.gz)Usage
|
|
| |
| | Grep - pattern searching utility |
 | | Grep is used to search for a pattern or word in a file. |  | | Another useful way to use grep is to search multiple files for a certain pattern. |  | | For more information on the uses of the grep family of utilities, or for a listing of other flags which these programs accept, check the man pages on your system (man grep). |
|
http://www-acs.ucsd.edu/offerings/userhelp/OLD_HTML/grep,d.html
|
|
| |
| | GREP 8.0 Quick Start -- Find Regular Expressions in Files |
 | | GREP scans either named input files or the standard input & input can be a named file, a pipe, or the keyboard. |  | | GREP was originally written with plain text files in mind, but you can also use it quite well with binary files like word-processing files, databases, and executable programs. |  | | GREP works just fine in batch files, but you need to be at your computer when running unregistered GREP so that you can answer that prompt. |
|
http://oakroadsystems.com/sharware/grep101.htm
|
|
| |
| | grep |
 | | The grep utility shall search the input files, selecting lines matching one or more patterns; the types of patterns are controlled by the options specified. |  | | Multiple -e and -f options are accepted and grep uses all of the patterns it is given while matching input text lines. |  | | Similarly, since patterns are matched against individual lines (excluding the terminating s) of the input, there is no way for a pattern to match a found in the input. |
|
http://www.opengroup.org/onlinepubs/009695399/utilities/grep.html
|
|
| |
| | grep_tutorial |
 | | A better way to do an extended "grep" is to use grep -E which uses extended regular expression syntax without loss of functionality. |  | | grep 'bugg\?y' file - matches all of the following: bugy, buggy but not bugggy |  | | Another way of using grep is to have it accept data through STDIN and filter to STDOUT. |
|
http://www.selectorweb.com/grep_tutorial.html
|
|
| |
| | Grep and AWK |
 | | Since the variable is null, we are actually grepping null chracter from the file now. |  | | Grep searches the named input files (or standard input if no files are named, or the file name - is given) for lines |  | | Using this more-advanced search, a user named "alfred" would not be matched, because the letter "a" will be in the first column. |
|
http://spot.pcc.edu/~wmorales/cs140u/week_8.htm
|
|
| |
| | Text searching in linux with grep [Page 1 of 2] |
 | | The two main uses for grep is finding a line in a file that matches with a keyword, and finding a line in a command output, that matches a keyword. |  | | Grep is a wonderful command in Linux and makes the Linux environment that much easier to process large files or large amounts of data. |  | | Grep can be used in conjunction with any command, as far as I know and it has many features not mentioned so far so the next page will simply show some examples of advanced uses of grep. |
|
http://www.iceteks.com/articles.php/grep/1
|
|
| |
| | BBEdit Grep Tutorial |
 | | The version of grep that is used in BBEdit is a very basic version, similar to UNIX's egrep. |  | | Second of all, BBEdit's grep is greedy, which means it goes for the biggest match it can, even if there are smaller matches inside it. |  | | Also, some things, like digits, are represented differently in different programs supporting grep expressions (for instance, BBEdit uses # to represent a digit, while Perl uses \d). |
|
http://www.anybrowser.org/bbedit/grep.shtml
|
|
| |
| | grep man document |
 | | The grep commands search the named input files for lines containing a match for the given patterns. |  | | For example, don't use this implementation to compute primes. |  | | grep - search lines in files for matching patterns |
|
http://www.research.att.com/~gsf/man/man1/grep.html
|
|
| |
| | A Tao of Regular Expressions |
 | | grep is a program used to match regular expressions in one or more specified files or in an input stream. |  | | substitution commands or as grep file search commands, but they are representative examples and the concepts can be applied in the use of tools such as sed, awk, perl and other programs that support regular expressions. |  | | Grep uses the regular expression we supply and tries to match it to every line of the file. |
|
http://sitescooper.org/tao_regexps.html
|
|
| |
| | ISDweb Documentation Operating Systems UNIX Grep |
 | | grep would display every line with an occurrence of the pattern regardless of its position in a word. |  | | The grep UNIX command allows you to find lines in files that contain key words or phrases. |  | | With this command, it is possible to perform a quick search of a file or directory without having to look at each file via a text editor or the UNIX more command. |
|
http://www.usc.edu/isd/doc/os/unix/commands/grep.html
|
|
| |
| | Chap03 grep |
 | | grep returns status conditions; 0 if it found at least one match, 1 if did not find a match, and 2 if it did not find a file requested. |  | | grep [options] pattern [filename] If filename is omitted, input is expected from a pipe. |  | | In Table 3.5, note the number of examples for which grep returns the same thing as egrep. |
|
http://www.epcc.edu/ftp/Homes/johngi/UNIXII/module03.htm
|
|
| |
| | The grep family of UNIX utilities (Summer 1995) |
 | | The grep family of UNIX utilities is commonly comprised of grep, egrep, and fgrep. |  | | For instance, if you have a data file with ten million records and wish to do a complex analysis on only half a million of them, grep is an easy way to reduce the input d ata stream to the analysis program. |  | | Agrep is Ambiguous grep and allows selection of lines using regular expressions which "almost" match and it allows the user to define what "almost" means. |
|
http://www.eits.uga.edu/tti/Computer_Review/Summer95/GREPS.html
|
|
| |
| | Using grep Linux Journal |
 | | The -b option causes grep to print the byte offset (how many bytes the match is from the beginning of the file) of each match before the corresponding line of output. |  | | Piping input into grep from standard input also has another frequent use: filtering the output of other commands. |  | | In the first exercise, we provided grep with the name of a file, and it opened that file and searched it. |
|
http://www.linuxjournal.com/article.php?sid=1149
|
|
| |
| | grep - GNU Project - Free Software Foundation (FSF) |
 | | Grep searches one or more input files for lines containing a match to a specified pattern. |  | | If you are interested in helping with the development of GNU grep, please consider joining the bug-grep mailing list. |  | | The current development version (introducing new features and bugfixes, but also quite possibly new bugs) can be accessed using CVS. |
|
http://www.gnu.org/software/grep/grep.html
|
|
| |
| | Let Windows Grep do the searching - Printer friendly - ZDNet UK Insight |
 | | With Windows Grep, you can search for text strings in binary files, such as word processor documents, databases, spreadsheets, and executables, and you can use it to search for and replace specific text strings in ASCII text files, such as program source, HTML, RTF, and batch files. |  | | Windows Grep is a text-search utility that works like the UNIX/Linux grep utility but runs on Windows machines. |  | | You don't need to know anything about the UNIX grep utility to begin searching with Windows Grep. |
|
http://www.zdnet.co.uk/print?TYPE=story&AT=2109128-39020469t-20000006c
|
|
| |
| | GREP - Generalized Regular Expression Processor - What's it all about? |
 | | You can pipe the output of a program to grep the same way you can with any program. |  | | By the way, GREP should be in your path as well. |  | | If you are wondering what the backslash does, the answer is this: The backslash makes the computer LOOK for a SPACE. |
|
http://www.acm.vt.edu/~clint/voices/grepdoc.htm
|
|
| |
| | Debian -- grep |
 | | GNU grep is based on a fast lazy-state deterministic matcher (about twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper search for a fixed string that eliminates impossible text from being considered by the full regexp matcher without necessarily having to look at every character. |  | | The result is typically many times faster than Unix grep or egrep. |  | | Even if you don't want to use it, other packages on your system probably will. |
|
http://packages.debian.org/stable/base/grep.html
|
|
| |
| | Grep Installation |
 | | Grep is a string matching utility, and is an enormously simple and powerful tool that allows for string and pattern matching. |  | | I then ran grep --version to see which version of grep I was currently using. |  | | Grep can be used as a standalone program: |
|
http://ils.unc.edu/~sarid/inls183/grep.html
|
|
| |
| | G is for grep |
 | | They don't understand that grep is simply an odd concatenation of the phrase "grab regular expression"; and even if they did know, it would mean nothing to them. |  | | Grep "-l" simply Lists file names with matches, instead of listing the matching lines too. |  | | The pipe, escaped with a backslash, tells grep to look for the string "scsi" or the string "error". |
|
http://netadmintools.com/art282.html
|
|
| |
| | Regular Expressions in grep |
 | | The grep program is a standard UNIX utility that searches through a set of files for an arbitrary text pattern, specified through a regular expression. |  | | By default, grep shows the lines that match (use -v to show those that don't match). |  | | By default, grep ignores the context of a string (use -w to match words only). |
|
http://www.robelle.com/library/smugbook/regexpr.html
|
|
| |
| | INSTALLATION OF GREP |
 | | Grep searches the named input files (or standard input if no files are named, or the file name - is given) for lines containing a match to the given pattern. |  | | I confirmed that Grep was available by doing a "usr/local/bin/grep --version" command. |  | | I have never done any type of installation using Unix, so this is all new to me. |
|
http://ils.unc.edu/~vongm/inls183/Projects/grep.htm
|
|
| |
| | grep.extracts - resources on regular expressions |
 | | Word processor that features grep and supports English-like phrases instead of traditional Unix-style expressions. |  | | A similar approach was offered by PreFab Software's (discontinued) TextMachine, a scriptable app w/o an interface, that got an in depth review by TidBITS-author Matt Neuburg. |  | | Multibyte-aware file search utility that let's you scan whole directories with grep. |
|
http://grep.extracts.de
|
|
| |
| | Text-grep (jul 96) |
 | | The standard Unix grep command has a ``-l'' (lowercase L, not capital I) option which says to simply list the matching filenames one at a time, rather than the lines that match. |  | | The system-supplied grep command groks through both text files and binary files. |  | | It has no arguments, although it understands ``-'' in the list of files to mean ``standard input'', and presumes that standard input is always a text file. |
|
http://www.stonehenge.com/merlyn/UnixReview/col09.html
|
|
| |
| | [No title] |
 | | This program resulted in the invention of the software tool `grep.' Following is McIlroy's account of how `grep' was taken out from the editor, leading to a clearer understanding of the notion of a software tool. |  | | The date given for the creation of grep is March 3, 1973, following the creation of pipes.(43) The creation of grep, McIlroy explains, was followed by the invention of other special purpose software programs that could be used as tools. |  | | Then ed copied each part into /tmp, scanned it twice to accomplish the g command, and finally threw it away, which takes time too." "One afternoon I asked Ken Thompson if he could lift the regular expression recognizer out of the editor and make a one-pass program to do it. |
|
http://www.columbia.edu/~rh120/ch106.x09
|
|
| |
| | COTSE-Perl-grep |
 | | Similarly, grep returns aliases into the original list, much like the way that a for loop's index variable aliases the list elements. |  | | See also map for an array composed of the results of the |  | | In a scalar context, returns the number of times the expression was |
|
http://www.cotse.com/perl/grep.html
|
|
| |
| | Powerful Windows GREP |
 | | Like the classic grep utility, PowerGREP can search through files and folders on your computer using regular expressions. |  | | All in all a very useful tool for locating information stored anywhere on your computer, even (or especially) if you don't really know where to look. |  | | It can search through files and folders (directories in UNIX) and check which lines in those files match a given regular expression. |
|
http://www.powergrep.com/grep.html
|
|
| |
| | GREP Explained |
 | | GREP has been in Nisus Writer since its earliest version and before that in the text editor produced by Nisus Software: QUED/M. It appeared in QUED/M (and its predecessor before any version of Think C (at that time, Lightspeed C). |  | | Here are some strings that match this pattern: |  | | A :* after any sub-expression prefers the shortest match. |
|
http://www.nisus.com/NisusWriter/Support/Tips/GrepExplained.php
|
|
| |
| | ITworld.com - Grep this |
 | | $ grep hello * story.txt: so I said hello and she smiled back intro.txt: use the hello.c program as an example of C programming $ |  | | Following search matches "c" and "t" with any number of vowels (or no vowels) in between. |  | | The output of this command might be something like this: |
|
http://www.itworld.com/Comp/2378/swol-1199-unix101
|
|
| |
| | Grep |
 | | Package includes the GNU 'grep,' 'egrep,' and 'fgrep,' which find lines that match entered patterns. |  | | Grep - Finds lines that match entered patterns |  | | Licensed under The GNU General Public License, Version 2 or later. |
|
http://directory.fsf.org/grep.html
|
|
| |
| | COTSE - GREP Reference |
 | | The grep utility searches files for a pattern and prints all lines that contain that pattern. |  | | If no files are specified, grep assumes standard input. |  | | Normally, each line found is copied to standard output. |
|
http://www.cotse.com/dlf/man/grep/description.htm
|
|
| |
| | Firewall Logging and Monitoring |
 | | In this situation we have a problem however because we used a combination of two grep commands to capture the data. |  | | You should also consider automating the process of segregating each of these labels into their own files. |  | | # you could fix that problem by doing a secondary grep on "drop" |
|
http://www.loganalysis.org/sections/parsing/application-specific/firewall-logging.html
|
|
| |
| | Text Processing Commands |
 | | grep -c txt *.sgml # (number of occurrences of "txt" in "*.sgml" files) # grep -cz. |  | | grep -v pattern2 # Matches all lines in "*.txt" files containing "pattern1", # but ***not*** "pattern2". |  | | grep -c foo # Just use the "-c" (or "--count") option of grep. |
|
http://db.ilug-bom.org.in/Documentation/abs-guide/textproc.html
|
|
| |
| | grep |
 | | Epsilon skips over any file with an extension listed in grep-ignore-file-extensions; by default some binary file types are excluded. |  | | It prompts for the search string and the file pattern. |  | | The grep buffer appears in the current window. |
|
http://www.lugaru.com/man/grep.html
|
|
| |
| | IT Resource Center forums - grep command does not show up |
 | | The snapshot of the processes running missed the time when your 'grep' was active. |  | | A better way to find (or count) a particular running process which avoids the need for multiple 'grep's *and* avoids matches for processes you *don't* want is this: |  | | In the second example, the real userID is listed, followed by the program's size but with the label changed to Kbytes, then pid and finally the command line, also with a new label. |
|
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=30116
|
|
| |
| | Emerge: Using the "grep" Target |
 | | Pick a word which you know occurs in at least one file. |  | | Go to the top level of the gazelle distribution and type |  | | The grep target should report the number of files which contain that word. |
|
http://dlt.ncsa.uiuc.edu/archive/emerge/gazelle_grep_tutorial.html
|
|
| |
| | Programming Forums - Grep |
 | | 09-17-2004 03:57 AM Yeah thats true, I always forget about that -u arg to sort and avoiding an extra process can be very important if the file you grep is huge. |  | | If I understand your second question you want unique matches. |  | | I have an application that produces records continuously in a file. |
|
http://www.programmingforums.org/forum/printthread.php?t=570
|
|
| |
| | GREP for Windows |
 | | GREP is a well known tool in the unix environment. |  | | I modified GNU grep 2.0 to allow searching of subdirectories. |  | | There are several ports available that I came across for Windows. |
|
http://www.interlog.com/~tcharron/grep.html
|
|
| |
| | grep-default-directory: preference variable |
 | | Set this variable to 1 if you want grep to instead reinterpret the file pattern you typed according to the current directory. |  | | When you press without entering a file pattern for grep, it by default tries to search the same set of files as last time, even if you've subsequently changed directories, if you previously used a relative pattern like |  | | Set it to 2 if you want Epsilon to reinterpret the previous file pattern according to the directory associated with the current buffer. |
|
http://www.lugaru.com/man/grep-default-directory.html
|
|
| |
| | Searching the contents of a file |
 | | Using this command you can check to see if a text file holds specific information. |  | | grep is often used to search the output from a command. |  | | Any regular expression containing one or more special characters must be quoted to remove their meaning. |
|
http://www.mcsr.olemiss.edu/unixhelp/utilities2/grep.html
|
|
| |
| | grepcomputers |
 | | Oh, and the commercials are all crap, too. |  | | grep @ 6:40 pm [RE: Your music and DJs">link] Comments (0) |
|
http://www.grepcomputers.net
|
|
| |
| | [No title] |
 | | When displaying filenames, follow each with a zero byte instead of a colon. |  | | Display, before each line found, the name of the file containing the line. |  | | This is done by default if multiple files are submitted to a single grep command. |
|
http://www.oreillynet.com/linux/cmd/g/grep.html
|
|
|