When String Becomes Dangerous


Try this command:

mkdir -p "$HOME/tmp/tmp" && cd "$HOME/tmp/tmp"
touch echo stuff
*

If your results are anything like mine, the terminal should print stuff. The shell expands * as echo stuff, which is a valid command.

This is what happens when the only native data type for the shell is String.

Related Posts

Sammy Cottrell

Jump or die, dumbass

beats you

kairos

Mechanistic Interpretability and Lean 4

John Arbuthnot

zeno timer trick

WHY ARE YOU SO CALM?! My scooter accident

Beyond strength

The amount of honor to go around is very limited