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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Rust for Shell Scripting

2 点作者 glorioustao超过 5 年前

1 comment

ktpsns超过 5 年前
Tip: In she&#x27;ll context, it is good style to always print argv[0] in log lines, ie the program name. When myscript.rs reports<p><pre><code> INFO: blabla </code></pre> It should better report<p><pre><code> myscript.rs: blabla or myscript.rs: INFO: blabla </code></pre> This helps identifying the source when the script is part of a series of pipes, or running in background, etc