TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Decoded: GNU Coreutils (2018)

261 点作者 mr_o47超过 1 年前

11 条评论

1vuio0pswjnm7超过 1 年前
&quot;Many of these utilities are approaching 30 years old and include revisions by many people over the years.&quot;<p>&quot;They are not designed for long life or to scale beyond their role.&quot;<p>Would love to see some examples from the author of programs he believes are &quot;designed for long life&quot; that have been around 30 years.<p>Or even ones he thinks will be around for 30 years.
评论 #37442033 未加载
评论 #37441507 未加载
评论 #37441506 未加载
评论 #37452972 未加载
评论 #37448053 未加载
评论 #37444181 未加载
asicsp超过 1 年前
See also:<p>* How the GNU coreutils are tested: <a href="https:&#x2F;&#x2F;www.pixelbeat.org&#x2F;docs&#x2F;coreutils-testing.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.pixelbeat.org&#x2F;docs&#x2F;coreutils-testing.html</a><p>* Exploration of each of the coreutils commands: <a href="https:&#x2F;&#x2F;ratfactor.com&#x2F;slackware&#x2F;pkgblog&#x2F;coreutils" rel="nofollow noreferrer">https:&#x2F;&#x2F;ratfactor.com&#x2F;slackware&#x2F;pkgblog&#x2F;coreutils</a><p>* Command line text processing with GNU Coreutils: <a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;cli_text_processing_coreutils&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;cli_text_processing_coreuti...</a> (my ebook that covers 20+ text processing tools)
dang超过 1 年前
Related:<p><i>Decoded: GNU Coreutils (2018)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29871037">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29871037</a> - Jan 2022 (7 comments)<p><i>Decoded: GNU coreutils (2019)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26411908">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26411908</a> - March 2021 (38 comments)<p><i>Decoded: GNU Coreutils</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20328650">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20328650</a> - July 2019 (55 comments)
nilespotter超过 1 年前
Fun fact, if you install coretuils from homebrew on MacOS, since MacOS already ships with od(1), od from coretuils is installed as god(1)
评论 #37440854 未加载
jmholla超过 1 年前
I noticed at least one error, if the author is here. The short description on the shred page[0] is actually the description for csplit[1]. It should be something along the lines of &quot;overwrite a file to hide its contents, and optionally delete it&quot;.<p>[0]: <a href="https:&#x2F;&#x2F;maizure.org&#x2F;projects&#x2F;decoded-gnu-coreutils&#x2F;shred.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;maizure.org&#x2F;projects&#x2F;decoded-gnu-coreutils&#x2F;shred.htm...</a> [1]: <a href="https:&#x2F;&#x2F;maizure.org&#x2F;projects&#x2F;decoded-gnu-coreutils&#x2F;csplit.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;maizure.org&#x2F;projects&#x2F;decoded-gnu-coreutils&#x2F;csplit.ht...</a>
version_five超过 1 年前
Cool, I didn&#x27;t know this existed. I think simple ones like `yes` can be very interesting just to see how the base code of a utility (that writes to stdout) is written.<p><a href="https:&#x2F;&#x2F;maizure.org&#x2F;projects&#x2F;decoded-gnu-coreutils&#x2F;yes.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;maizure.org&#x2F;projects&#x2F;decoded-gnu-coreutils&#x2F;yes.html</a>
评论 #37441003 未加载
评论 #37440369 未加载
staplung超过 1 年前
Kind of a fun list of basic utilities. I&#x27;ve been using UNIX for a loooong time and had never heard of e.g. `shred`, `shuf`, or `factor`. Makes me want to try<p><pre><code> sudo find &#x2F; -type f -exec shred {} \; </code></pre> to see how far it gets before killing itself (on a VM or easily re-flashed machine of course).
评论 #37440876 未加载
评论 #37440729 未加载
MenhirMike超过 1 年前
I do like that &#x2F;bin&#x2F;true can actually fail and return false, which technically makes a &quot;Not &#x2F;bin&#x2F;false&quot; invocation more resilient: <a href="https:&#x2F;&#x2F;github.com&#x2F;coreutils&#x2F;coreutils&#x2F;blob&#x2F;master&#x2F;src&#x2F;true.c#L67">https:&#x2F;&#x2F;github.com&#x2F;coreutils&#x2F;coreutils&#x2F;blob&#x2F;master&#x2F;src&#x2F;true....</a> (and yes, I know it&#x27;s the most unlikely thing, I just found it funny)
评论 #37443546 未加载
评论 #37441923 未加载
boppo1超过 1 年前
As a novice programmer trying to sharpen my grasp of how to fruitfully apply DS&amp;A, are there any of these I should look at in particular?
评论 #37443553 未加载
评论 #37443024 未加载
Roark66超过 1 年前
I might be missing a point of this site, but don&#x27;t we have man (or info) pages for each of these?
评论 #37444216 未加载
sylware超过 1 年前
Try to avoid gnu options and niche commands.<p>Stick to busybox commands as much as you can.
评论 #37443932 未加载