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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Writing a Bash builtin in C to parse INI configs

30 点作者 namanyayg大约 1 个月前

3 条评论

lttlrck大约 1 个月前
Huh. This made me curious about JSON which led to <a href="https:&#x2F;&#x2F;github.com&#x2F;Wiguwbe&#x2F;bash-json" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Wiguwbe&#x2F;bash-json</a><p>I have had to graft JSON into legacy bash files enough times that this is worth another look.
lsferreira42大约 1 个月前
Self plug: <a href="https:&#x2F;&#x2F;github.com&#x2F;lsferreira42&#x2F;bash-ini-parser" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lsferreira42&#x2F;bash-ini-parser</a>
tracnar大约 1 个月前
Interesting! A use case I could see for using builtins would be to gradually rewrite a bash script in some other language, as otherwise you have to do it through subprocess which can be slow and inconvenient.