![]() ![]() Matches occur when the specific sequence of characters is recognized, for example, lines containing pineapple or apples are printed irrespective of word boundaries. By default, it reports matching lines on standard output, but specific modes of operation may be chosen with command line options.Ī simple example of a common usage of grep is the following, which searches the file fruitlist.txt for lines containing the text string apple: Grep searches files specified as arguments, or a program's output when piped to the output of that command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |