Hacker News new | past | comments | ask | show | jobs | submit login

> For example, filenames may have spaces in them, but most don't.

This happens in shell scripts as well, and which is why ShellCheck has a warning for it:

* https://www.shellcheck.net/wiki/SC2086

Even with something like find … | xargs … can trip people up if they're not expecting it. It's certainly why GNU (?) added -print0 / -0, but find … -exec … \; works just as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: