Grep
grep is a command line utility originally written for use with the Unix operating system. The default behaviour of grep takes a regular expression on the command line, reads standard input or a list of files, and outputs the lines containing matches for the regular expression. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
\n\");}
//-->
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ The name comes from a command in the Unix text editor ed that takes the form: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ :g/re/p ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ This means "search globally for matches to the regular expression re, and print lines where they are found". There are various command line switches available when using grep that modify the default behaviour. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Command line: REDIRECT Command-line interface... Regular expression: A regular expression (abbreviated as regexp, regex, or regxp, with plural forms regexps, regexes, or regexen) is a string that describes or matches a set of strings, according to certain syntax rules. Regular expressions are used by many text editors and utilities to search and manipulate bodies of ... Standard input: REDIRECT Standard streams... | ~ Table of Content ~
\n\");}
//-->
~ Related Subjects ~Unix (2) - Text editor (1) - Syntax (1) - Perl (1) - Grep (1) - Sed (1) - Regular expression (1) - Command line (1) - Standard input (1) - Set (1) - String (1) -~ Community ~
| ||||||||||||||||||
Lexicon - Contact us/Report abuse - Privacy Policy - Spiritus-Temporis.com ©2005. - stvers1 - 2012-02-11 - evol2 - 0.36