Liste des Groupes | Revenir à col misc |
not@telling.you.invalid (Computer Nerd Kev) wrote:Just a meta-comment .... the length and strength ofNo, the GNU Find man page says:The shell tokenizes at whitespace, and a newline is often treated as
"-print0, -fprint0
Always print the exact filename, unchanged, even if the output is
going to a terminal."
>
Which is the same as the default -print if the output isn't to a
terminal, except -print0 uses null instead of newline to separate
filenames because they're a particular problem. Other special
characters aren't as problematic.
whitespace. -print0 is the canonical protection that makes your script
handle spaces in newlines correctly, and THOSE are rather common in
file names. Look in your music directory for examples.
You've gotten yourself into something in this discussion. Better take
a step back to stop embarrassing yourself.
Les messages affichés proviennent d'usenet.