News for hackers. Stuff that matters.
Re:What was the point of [ “x$var” = “xval” ]? by rustshellscript on Monday April 12, 2021 @05:33AM (#26777492)
The only good part of sh/bash script is to run commands with piping/redirection support IMO,other than that I saw posts like this to explain sh/bash script’s puzzles/pitfalls all the time.

Maybe it is time to consider using rust instead: https://github.com/rust-shell-script/rust_cmd_lib ?

Re:What was the point of [ “x$var” = “xval” ]? by beltsazar on Monday April 12, 2021 @08:16AM (#26778524)
I'm not sure why you're downvoted, but thanks for the link! Coincidentally, I've been searching this kind of library in Rust for the past few days.