grep_awk_sed.pdf
www-users.york.ac.uk · 3,071 words · saved by 1 readers
N/A
grep, awk and sed – three VERY useful command-line utilities Matt Probert, Uni of York grep = global regular expression print In the simplest terms, grep (global regular expression print) will search input files for a search string, and print the lines that match it. Beginning at the first line in the file, grep copies a line into a buffer, compares it against the search string, and if the comparison passes, prints the line to the screen. Grep will repeat this process until the file runs out of lines. Notice that nowhere in this process does grep store lines,…
saved by
related reading
- Grepen.wikipedia.org
- The GNU Awk User's Guidegnu.org
- GitHub - jlevy/the-art-of-command-line: Master the command line, in one pagegithub.com
- Fast regex search: indexing text for agent tools · Cursorcursor.com
- Command Line Interface Guidelinesclig.dev
- Regular Expression Matching with a Trigram Indexswtch.com
- Learn-Vim/ch03_searching_files.md at master · iggredible/Learn-Vimgithub.com
- Regular expression - Wikipediaen.wikipedia.org
- GitHub - jlevy/the-art-of-command-line at jlevy-patch-1github.com
- Aho-Corasick Algorithm for Pattern Searching - GeeksforGeeksgeeksforgeeks.org
- GitHub - jlevy/the-art-of-command-line: Master the command line, in one pagegithub.com
- niplavniplav.site