TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

CLI text processing with GNU Coreutils

24 pointsby asicspabout 1 year ago

2 comments

asicspabout 1 year ago
Hello!<p>I am pleased to announce a new version of my &quot;CLI text processing with GNU Coreutils&quot; ebook. This ebook will help you learn 20+ specialized text processing commands. Major changes in this version were adding 100+ exercises and updating features for 9.1 coreutils package.<p>Links:<p>* Web version: <a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;cli_text_processing_coreutils&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;cli_text_processing_coreuti...</a><p>* Markdown source, exercise solutions, etc: <a href="https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;cli_text_processing_coreutils">https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;cli_text_processing_coreut...</a><p>* Interactive TUI app: <a href="https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;TUI-apps&#x2F;tree&#x2F;main&#x2F;CLI-Exercises">https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;TUI-apps&#x2F;tree&#x2F;main&#x2F;CLI-Exe...</a> (includes some coreutils exercises)<p>I would highly appreciate it if you&#x27;d let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn&#x27;t!) and so on. Reader feedback is essential and especially so for self-published authors.<p>Happy learning :)
评论 #39968828 未加载
评论 #39979548 未加载
alchemist1e9about 1 year ago
There is a use case for sort that might be worth mentioning. If someone needs to sort billions or trillion of lines of data, it can be done with coreutils sort. The trick is to use —-temporary-dir and potentially use ulimit to restrict the process memory. Might be worth mentioning under sort as it’s a neat trick.