[–] ktpsns 6y ago ↗ Tip: 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
[–] [dead] stevekablink 6y ago ↗ This is such a good idea. When shell scripts are all written in Rust, Unix will be a safe and secure operating system.
2 comments
[ 2.7 ms ] story [ 16.4 ms ] thread