Search results
Results from the WOW.Com Content Network
grep is a command-line utility for searching plaintext datasets for lines that match a regular expression. Its name comes from the ed command g/re/p (global regular expression search and print), which has the same effect.
He later added this capability to the Unix editor ed, which eventually led to the popular search tool grep's use of regular expressions ("grep" is a word derived from the command for regular expression searching in the ed editor: g/re/p meaning "Global search for Regular Expression and Print matching lines"). [15]
A saying from the Jargon File is that "You can't grep dead trees", which comes from the Unix command grep, which searches the contents of text files. This means that there is an advantage to keeping documents in digital form, rather than on paper, so that they can be more easily searched for specific contents.
System V ipcrm: Misc Optional (XSI) Remove a message queue, semaphore set, or shared memory segment identifier System V ipcs: Misc Optional (XSI) Report interprocess communication facilities status System V jobs: Process management Optional (UP) Display status of jobs in the current session join: Text processing Mandatory
grep – a Unix command line utility; The name comes from a command in the Unix text editor ed that takes the form g/re/p meaning search globally for a regular expression and print lines where instances are found. [30] "Grep" like "Google" is often used as a verb, meaning "to search".
The classic filter in Unix is Ken Thompson's grep, which Doug McIlroy cites as what "ingrained the tools outlook irrevocably" in the operating system, with later tools imitating it. [1] grep at its simplest prints any lines containing a character string to its output. The following is an example:
grep-i 'blair' filename.log | more. where the output from the grep process (all lines containing 'blair') is piped to the more process (which allows a command line user to read through results one page at a time). The same "pipe" feature is also found in later versions of DOS and Microsoft Windows.
The date in the man page for Unix 4 does not necessarily mean the creation date. I emailed Ken Thompson himself who clarified it was his private command for quite a while.208.15.90.2 17:12, 14 January 2014 (UTC) This goes into the early history of many UNIX commands, including grep, sed, and others.