- Notifications
You must be signed in to change notification settings - Fork712
⚡ From finding text to search and replace, from sorting to beautifying text and more 🎨
learnbyexample/Command-line-text-processing
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Learn about various commands available for common and exotic text processing needs. Examples have been tested on GNU/Linux - there'd be syntax/feature variations with other distributions, consult their respectiveman
pages for details.
Individual online ebooks with better formatting, explanations, exercises, solutions, etc:
- CLI text processing with GNU grep and ripgrep
- CLI text processing with GNU sed
- CLI text processing with GNU awk
- Ruby One-Liners Guide
- Perl One-Liners Guide
- CLI text processing with GNU Coreutils
- Linux Command Line Computing
Seehttps://learnbyexample.github.io/books/ for links to PDF/EPUB versions and other ebooks.
As mentioned earlier, I'm no longer actively working on these chapters:
- Cat, Less, Tail and Head
- cat, less, tail, head, Text Editors
- GNU grep
- GNU sed
- GNU awk
- Perl the swiss knife
- Ruby one liners
- Sorting stuff
- sort, uniq, comm, shuf
- Restructure text
- paste, column, pr, fold
- Whats the difference
- cmp, diff
- Wheres my file
- File attributes
- wc, du, df, touch, file
- Miscellaneous
- cut, tr, basename, dirname, xargs, seq
Recorded couple of videos based on content in the chapters, not sure if I'll do more:
See also my short videos onLinux command line tips
Check outexercises directory to solve practice questions ongrep
, right from the command line itself.
See also myTUI-apps repo for interactive CLI text processing exercises.
- Pleaseopen an issue for typos or bugs
- As this repo is no longer actively worked upon,please do not submit pull requests
- Share the repo with friends/colleagues, on social media, etc to help reach other learners
- In case you need to reach me, mail me at
echo 'yrneaolrknzcyr.arg@tznvy.pbz' | tr 'a-z' 'n-za-m'
or send a DM viatwitter
- unix.stackexchange andstackoverflow - for getting answers to pertinent questions as well as sharpening skills by understanding and answering questions
- Forums likeLinux users,/r/commandline/,/r/linux/,/r/ruby/,news.ycombinator,devup and others for valuable feedback (especially spotting mistakes) and encouragement
- Seewikipedia entry 'Roses Are Red' for
poem.txt
used as sample text input file
This work is licensed under aCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
About
⚡ From finding text to search and replace, from sorting to beautifying text and more 🎨
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.