2 ms·
> 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: * h
by throw0101a 3y ago
> 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 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.