Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/utilities2/grep.html
Дата изменения: Fri Jan 17 12:43:26 1997
Дата индексирования: Tue Oct 2 00:22:46 2012
Кодировка:
Searching the contents of a file

Searching the contents of a file

To search a text file for a string of characters or a regular expression use the command:

   grep pattern filename(s)

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.


[Home] [Search] [Index]