![]() That functionality was then built into its own utility, but retained the same cryptic name. In an old command line utility called ed, the command g/re/p would print all lines matching a previously defined search string. ![]() The utilities somewhat unusual name comes from its origin. When used correctly, it can search faster than Spotlight, with more control and more exact results. ![]() It takes whatever input you provide and searches for a specific search term, or “string.” And because it supports regular expressions, those strings can get extremely complicated-and extremely powerful. Grep is a command line utility that searches plain text. Now, we can start digging into more useful Terminal techniques. ![]() We’ve covered getting up and running with Terminal, and addressed some basic Terminal commands. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |