Adding Some Spice To *nix Shell Scripts
An anonymous reader writes "Developing GUI script-based applications is time-consuming and expensive. Most Unix-based scripts run in a CLI mode or over a secure ssh session. The Unix shells are quite sophisticated programming languages in their own right: they are easy to design and quick to build, but they are not user-friendly in the same way the Unix commands aren't (see the Unix haters books). Both Unix and bash provide features for writing user friendly scripts using various tools to build powerful, interactive, user-friendly scripts that run under the bash shell on Linux or Unix. What tools do you use that spice up your scripts on the Linux or Unix platforms?"
I already showed the fix for it: make the script error out when it encounters a filename with a space in it.
And you're wrong, there IS a reason spaces shouldn't be in filenames: spaces are used as field delimiters. Anything that comes after a space on a command line is supposed to be an additional argument. This holds true in both Unix and Windows, so it's not some kind of "archaic" Unix thing.