Show HN: Rust for Shell Scripting(github.com)2 points·by glorioustao·7 anni fa·1 commentsgithub.comShow HN: Rust for Shell Scriptinghttps://github.com/rust-shell-script/rust_cmd_lib2 commentsPost comment[–]ktpsns·7 anni fareplyTip: 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·7 anni fa
It should better report
This helps identifying the source when the script is part of a series of pipes, or running in background, etc