That file is disturbing. Why does it do everything via external processes and shell commands? Stuff like calling ls -l to list files in a directory is not portable, and parsing the output of commands intended for humans and building shell commands without careful escaping is dangerous.
I had no idea! That’s mental.
That file is disturbing. Why does it do everything via external processes and shell commands? Stuff like calling
ls -l
to list files in a directory is not portable, and parsing the output of commands intended for humans and building shell commands without careful escaping is dangerous.