Clever Geek Handbook
📜 ⬆️ ⬇️

grep

grep is a command line utility that finds input lines that match the specified regular expression , and displays them if the output is not canceled with a special key. The name is an acronym of the English phrase “ search g lobally for lines matching them ” and “search for lines that match the regular expression and display them”.

GNU grep
Type of
Author
Developer
operating systemand
Interface languagesEnglish and others
First edition
conditionActive
License
Sitegnu.org/software/grep/

It was originally created for the UNIX operating system .

There are modifications to grep: egrep (with extended regular expression processing), fgrep (which treats the characters $ * [] ^ | () \ literally), rgrep (with recursive search enabled). As stated in the man manual (up to translation), “ egrep is the same as grep -E. fgrep is the same as grep -F. rgrep is the same as grep -r ".

See also

  • pgrep - grep by ps .
  • sed is a text replacement.

Literature

  • John Bambenek and Agnieszka Klus. grep. Pocket Reference. - O'Reilly Media , 2009. - 77 p. - ISBN 978-0-596-15360-1 .
  • Fei Williams. grep Super search by command // LinuxFormat . - 2010, July. - № 7 (133) . - p . 46-47 .
  • Tony Bradley. Ubuntu Linux, Day 19: Using 'man' and 'grep' // PCWorld . - Jun 19, 2011.
  • Tim McIntire. UNIX tips and tricks for a new user, Part 3: Introducing filters and regular expressions -> Searching files with grep . 12 May 2006. - IBM developerWorks. The appeal date is August 22, 2013. Archived August 24, 2013.

Links

  • grep(1) is the man help page for GNU / Linux user commands (English) ;
  • grep (1) / manpages-ru - man help page in Russian translation;
  • Documentation on gnu.org - full documentation on the official GNU website (English)
  • GNU grep (German)
Source - https://ru.wikipedia.org/w/index.php?title=Grep&oldid=96709957


More articles:

  • Kamenka (Gorai parish)
  • Vysokovo (Ostrovsky District)
  • Gorskoe (Pskov Region)
  • Kapshuchenko, Raisa Nikolaevna
  • Smooth, Kirill Semenovich
  • Vostrikov, Andrey Vladimirovich
  • List of dead in 1073
  • Dusti
  • Zheltushka Ershova
  • New Burighi

All articles

Clever Geek | 2019