Hacker News new | ask | show | jobs
by IsTom 7 days ago
To be pendantic

    ls -- **/*.sh
Otherwise it will fail if you've got a file named e.g. --help
1 comments

So, it's essentially argument injection?

I dislike these tools so much, because you need to know all these corner-cases and I don't.

Yeah, this happens broadly in shell with globbing. It's a bit ridiculous.