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

Random Thought: LC Theorem

I finally have an answer to "who's your favorite singer?"

My Top Tip for Helping People Get Started Programming

GPT-f

Random paper on angles

An Image is Worth 16x16 Words

Random stuff

Lossless Data Compression with Neural Networks by Fabrice Bellard

Downscaling Numerical Weather Models With GANs (My CI 2019 Paper)

Learning Differential Forms and Questions