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

Double Date

Worse Than a Sranc

thanks whole foods lady

Another way of doing big O notation

Compactness of the Classical Groups

Derivative AT a Discontinuity

Just because 2 things are dual, doesn't mean they're just opposites

Boolean Algebra, Arithmetic POV

discontinuous linear functions

Continuous vs Bounded