Re:Show HN: Using Rust to write shell-script like tasks
by rustshellscript on Sunday August 23, 2020 @08:40AM
(#24251481)
Yes, I also use this for automatically capturing command error messages with timestamps into logs:
https://github.com/rust-shell-script/bash_cmd_lib/blob/0b0a6...
However this can be fragile in bash script since any sub shell command can fail. I am still wandering how to support it in this rust_cmd_lib library.
Think "diff <(something) <(other)" without using temporary files.