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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Shell Hater's Handbook (2010)

128 点作者 samlambert6 个月前

8 条评论

packetlost6 个月前
YouTube link for video if it&#x27;s broken for others and not just me:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=olH-9b3VJfs" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=olH-9b3VJfs</a><p>Something I learned recently is that the Bourne shell (and by extension, bash and POSIX&#x27;s sh) have syntax inspired by Algol 68 (source [0]), which explains some of the funkyness. One thing I&#x27;ve been doing recently is writing scripts in rc, the default shell for plan9. It&#x27;s a bit saner syntax-wise IMO. Versions linked against readline have file-based completion, but it&#x27;s otherwise not quite robust enough for me to switch away from fish as my default, but it has some things I prefer over both bash and fish.<p>I encourage people to give rc and awk a shot, they&#x27;re both small and learnable in an afternoon!<p>[0]: <a href="https:&#x2F;&#x2F;doc.cat-v.org&#x2F;plan_9&#x2F;4th_edition&#x2F;papers&#x2F;rc" rel="nofollow">https:&#x2F;&#x2F;doc.cat-v.org&#x2F;plan_9&#x2F;4th_edition&#x2F;papers&#x2F;rc</a>
评论 #42020994 未加载
评论 #42024508 未加载
评论 #42026234 未加载
hamandcheese6 个月前
I&#x27;ve grown rather fond of bash in my current role. I work mainly on developer tools and CI pipelines, both of which mean gluing together lots of different CLI tools. When it comes to this kind of work I think it is quite hard to beat the expressiveness of shell scripting. I say this as a former hater of bash and its syntax.<p>Much credit to copilot and shellcheck, which have made complex bash ever the more write-only language than it already was.
评论 #42023337 未加载
评论 #42021357 未加载
评论 #42022424 未加载
genezeta6 个月前
(2010)<p>Sadly the video seems to be missing; the whole GoGaRuCo conference site is gone, actually.<p>Maybe it makes more sense to post the link to YT, as you did in 2022 <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32521080">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32521080</a>
评论 #42020650 未加载
评论 #42020623 未加载
yanowitz6 个月前
And its inspiration is still great but could use a refresh: <a href="https:&#x2F;&#x2F;web.mit.edu&#x2F;~simsong&#x2F;www&#x2F;ugh.pdf" rel="nofollow">https:&#x2F;&#x2F;web.mit.edu&#x2F;~simsong&#x2F;www&#x2F;ugh.pdf</a>
评论 #42023326 未加载
评论 #42020798 未加载
Eisenstein6 个月前
Getting a DNS error from confreaks.<p>You can get the video here:<p>* <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140207100122&#x2F;http:&#x2F;&#x2F;confreaks.com&#x2F;system&#x2F;assets&#x2F;datas&#x2F;1177&#x2F;original&#x2F;363-gogaruco2010-the-shell-hater-s-handbook-small.mp4" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140207100122&#x2F;http:&#x2F;&#x2F;confreaks....</a>
lproven6 个月前
A video is not a handbook. A handbook is a book. There&#x27;s a clue in the name.<p>Life is too short for videos.
nlawalker6 个月前
I&#x27;m not familiar with the landscape - is there a &quot;compiles to reasonably-readable [ba]sh&quot; language that&#x27;s gotten any traction anywhere? That seems like at least an interesting possible solution.
评论 #42021349 未加载
phendrenad26 个月前
If you&#x27;re a shell hater, the answer isn&#x27;t to write MORE shell, but to switch to something else, for the love of all things sane and normal.
评论 #42040882 未加载