Saw a bash script today that started with eval `perl -e ... and decided not to read the rest. Yikes!
miniblog.
Related Posts
TIL cargo is exploring a Rust script mode, essentially a concatenation of Cargo.toml and main.rs
I'm amused (and kinda surprised) to learn that shells have their own equivalent of blink tags, a blink escape code! https://stackoverflow.com/questions/17439482/how-to-make-a-text-blink-in-shell-script
Seems equally annoying, I can't see a good use for it.
Today I learnt that you can simulate a command being run in a TTY with `script`, e.g.
$ script --return --quiet --command "ls"
Unfortunately it generates output files called "typescript", which is a little confusing!