Show HN: Rust for Shell Scripting(github.com)2 points·by glorioustao·vor 7 Jahren·1 commentsgithub.comShow HN: Rust for Shell Scriptinghttps://github.com/rust-shell-script/rust_cmd_lib2 commentsPost comment[–]ktpsns·vor 7 JahrenreplyTip: In she'll context, it is good style to always print argv[0] in log lines, ie the program name. When myscript.rs reports INFO: blabla It should better report myscript.rs: blabla or myscript.rs: INFO: blabla This helps identifying the source when the script is part of a series of pipes, or running in background, etc[+]stevekablink·vor 7 Jahren
It should better report
This helps identifying the source when the script is part of a series of pipes, or running in background, etc