问HN:是否有壳层复兴?
我以前使用过 shell 脚本,但大多是在比较有限的情况下,主要是利用其他人的开源脚本来完成特定任务,或者偶尔用来清理硬盘。<p>具有讽刺意味的是,现在代理程序在编码方面确实表现出色,我发现自己“编写”的 shell 脚本越来越多。<p>这些脚本稳健、可移植,几乎可以在我关心的任何环境中运行。代理程序非常擅长生成这些脚本,它们执行速度快,非常适合自动化。<p>我最终得到了一个不断增长的自动化集合,围绕简单的交互式 shell 脚本菜单构建,这些菜单处理我经常做的事情。当我想要改进某个脚本、添加分支逻辑或调整行为时,我只需请求 AI 对脚本进行修改,然后继续进行。我对此非常喜欢。<p>这对我来说感觉像是 shell 脚本的复兴。<p>我很好奇其他人是否也经历了同样的转变,还是我陷入了某种奇怪的泡沫/反模式。
查看原文
I’ve used shell scripts before, but mostly in a pretty limited way with other people’s open source scripts to do something specific, or the occasional one off to clean up a drive.<p>Ironically, now that agents are genuinely good at coding, I find myself “writing” more shell scripts.<p>They’re robust, portable, and work in almost any environment I care about. Agents are very comfortable producing them, they execute fast, and they’re great for automation.<p>What I’ve ended up with is a growing set of automations built around simple, interactive shell script menus that handle things I do all the time. When I want to improve one, add branching logic, or tweak behavior, I just ask AI to mod the script and move on. I kind of love it.<p>It feels like a shell script revival, at least for me.<p>Curious if others are experiencing the same shift or if I fell into some weird bubble/anti-pattern.