Here’s an example: $ grep BSD example.txtĪnother common way to use grep is with a pipe, making it a sort of filter. The canonical use of grep is searching for a precise string of characters in some greater body of text, and returning the line or lines containing successful matches. GNU grep is available from OpenCSW.Īnd finally, you can get grep and many more commands on Windows by installing the open source Cygwin package, which provides a vast collection of GNU and open source tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |