Wheeler: Fixing Unix/Linux/POSIX Filenames
Posted Mar 25, 2009 19:52 UTC (Wed) by emk
In reply to: Wheeler: Fixing Unix/Linux/POSIX Filenames
Parent article: Wheeler: Fixing Unix/Linux/POSIX Filenames
If a filename is properly handled for spaces, doesn't it automatically work for all the other chars?
Unfortunately, no. One example mentioned in the article is files with names like "-rf", which will appear at the start of any glob list. To deal with this, you generally need to add "--" before any globs, but different commands behave differently, and not all commands support "--".
to post comments)