[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70855":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":19,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":15,"starSnapshotCount":15,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},70855,"Command-line-text-processing","learnbyexample\u002FCommand-line-text-processing","learnbyexample",":zap: From finding text to search and replace, from sorting to beautifying text and more :art:","",null,"Shell",10181,704,1,0,3,5,43.54,true,false,"master",[23,24,25,26,27,28,29,30,31,32],"awk","command-line","ebook","grep","linux","perl","regex","ruby","sed","text-processing","2026-06-12 02:02:44","# Command Line Text Processing\n\nLearn about various commands available for common and exotic text processing needs. Examples have been tested on GNU\u002FLinux - there'd be syntax\u002Ffeature variations with other distributions, consult their respective `man` pages for details.\n\n---\n\n:warning: :warning: I'm no longer actively working on this repo. Instead, I've converted existing chapters into ebooks (see [ebook section](#ebooks) below for links), available under the same license. These ebooks are better formatted, updated for newer versions of the software, includes exercises, solutions, etc. Since all the chapters have been converted, I'm archiving this repo.\n\n---\n\n\u003Cbr>\n\n## Ebooks\n\nIndividual online ebooks with better formatting, explanations, exercises, solutions, etc:\n\n* [CLI text processing with GNU grep and ripgrep](https:\u002F\u002Flearnbyexample.github.io\u002Flearn_gnugrep_ripgrep\u002F)\n* [CLI text processing with GNU sed](https:\u002F\u002Flearnbyexample.github.io\u002Flearn_gnused\u002F)\n* [CLI text processing with GNU awk](https:\u002F\u002Flearnbyexample.github.io\u002Flearn_gnuawk\u002F)\n* [Ruby One-Liners Guide](https:\u002F\u002Flearnbyexample.github.io\u002Flearn_ruby_oneliners\u002F)\n* [Perl One-Liners Guide](https:\u002F\u002Flearnbyexample.github.io\u002Flearn_perl_oneliners\u002F)\n* [CLI text processing with GNU Coreutils](https:\u002F\u002Flearnbyexample.github.io\u002Fcli_text_processing_coreutils\u002F)\n* [Linux Command Line Computing](https:\u002F\u002Flearnbyexample.github.io\u002Fcli-computing\u002F)\n\nSee https:\u002F\u002Flearnbyexample.github.io\u002Fbooks\u002F for links to PDF\u002FEPUB versions and other ebooks.\n\n\u003Cbr>\n\n## Chapters\n\nAs mentioned earlier, I'm no longer actively working on these chapters:\n\n* [Cat, Less, Tail and Head](.\u002Ftail_less_cat_head.md)\n    * cat, less, tail, head, Text Editors\n* [GNU grep](.\u002Fgnu_grep.md)\n* [GNU sed](.\u002Fgnu_sed.md)\n* [GNU awk](.\u002Fgnu_awk.md)\n* [Perl the swiss knife](.\u002Fperl_the_swiss_knife.md)\n* [Ruby one liners](.\u002Fruby_one_liners.md)\n* [Sorting stuff](.\u002Fsorting_stuff.md)\n    * sort, uniq, comm, shuf\n* [Restructure text](.\u002Frestructure_text.md)\n    * paste, column, pr, fold\n* [Whats the difference](.\u002Fwhats_the_difference.md)\n    * cmp, diff\n* [Wheres my file](.\u002Fwheres_my_file.md)\n* [File attributes](.\u002Ffile_attributes.md)\n    * wc, du, df, touch, file\n* [Miscellaneous](.\u002Fmiscellaneous.md)\n    * cut, tr, basename, dirname, xargs, seq\n\n\u003Cbr>\n\n## Webinar recordings\n\nRecorded couple of videos based on content in the chapters, not sure if I'll do more:\n\n* [Using the sort command](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=qLfAwwb5vGs)\n* [Using uniq and comm](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=uAb2kxA2TyQ)\n\nSee also my short videos on [Linux command line tips](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=p0KCLusMd5Q&list=PLTv2U3HnAL4PNTmRqZBSUgKaiHbRL2zeY)\n\n\u003Cbr>\n\n## Exercises\n\nCheck out [exercises](.\u002Fexercises) directory to solve practice questions on `grep`, right from the command line itself.\n\nSee also my [TUI-apps](https:\u002F\u002Fgithub.com\u002Flearnbyexample\u002FTUI-apps) repo for interactive CLI text processing exercises.\n\n\u003Cbr>\n\n## Contributing\n\n* Please [open an issue](https:\u002F\u002Fgithub.com\u002Flearnbyexample\u002FCommand-line-text-processing\u002Fissues) for typos or bugs\n    * As this repo is no longer actively worked upon, **please do not submit pull requests**\n* Share the repo with friends\u002Fcolleagues, on social media, etc to help reach other learners\n* 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 via [twitter](https:\u002F\u002Ftwitter.com\u002Flearn_byexample)\n\n\u003Cbr>\n\n## Acknowledgements\n\n* [unix.stackexchange](https:\u002F\u002Funix.stackexchange.com\u002F) and [stackoverflow](https:\u002F\u002Fstackoverflow.com\u002F) - for getting answers to pertinent questions as well as sharpening skills by understanding and answering questions\n* Forums like [Linux users](https:\u002F\u002Fwww.linkedin.com\u002Fgroups\u002F65688), [\u002Fr\u002Fcommandline\u002F](https:\u002F\u002Fwww.reddit.com\u002Fr\u002Fcommandline\u002F), [\u002Fr\u002Flinux\u002F](https:\u002F\u002Fwww.reddit.com\u002Fr\u002Flinux\u002F), [\u002Fr\u002Fruby\u002F](https:\u002F\u002Fwww.reddit.com\u002Fr\u002Fruby\u002F), [news.ycombinator](https:\u002F\u002Fnews.ycombinator.com\u002Fnews), [devup](http:\u002F\u002Fdevup.in\u002F) and others for valuable feedback (especially spotting mistakes) and encouragement\n* See [wikipedia entry 'Roses Are Red'](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FRoses_Are_Red) for `poem.txt` used as sample text input file\n\n\u003Cbr>\n\n## License\n\nThis work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-nc-sa\u002F4.0\u002F)\n","该项目旨在通过命令行工具进行文本处理，涵盖了从查找替换到排序美化等多方面功能。它以Shell脚本为核心，重点介绍了包括awk、grep、sed在内的多种Linux命令行工具的使用方法与技巧，并提供了丰富的示例来帮助用户理解和掌握这些工具。适合希望提高自己在Linux环境下文本处理能力的开发者或系统管理员学习使用。此外，项目内容已被整理成电子书形式，提供更详细的解释及练习题，进一步增强了学习体验。",2,"2026-06-11 03:34:34","high_star"]