Re: JFS default behavior (was: UTF-8 in file systems? xfs/extfs/etc.)

Robin Rosenberg
2004-02-13T09:48:42Z

On Friday 13 February 2004 03.58, Jamie Lokier wrote:
> Robin Rosenberg wrote:
> > Most shell scripts break if I even have a space in a filename. This
> > shouldn't be any worse than that. The space issue is really serious
> > (but I don't think that can be fixed other than teaching people to
> > program properly, and possibly improving bash's knowledge of the
> > difference between a space and argument separator).
>
> Space works fine for me. Completion, wildcard expansion, variable
> substition etc. all fine. Bash doesn't need changing - your scripts do.

I'm thinking about many scripts in the wild, and my own scripts (usually) handle spaces
well, but it's awkward sometimes although quoting usually resolves the issue (never mind what
happens with filenames with quotes, newlines and other garabage, but even those work sometimes.
Fortunately these are rare, very rare and usually the result of a programming mistake elsewhere :-)

On the command line there is no problem.

With other script languages I use this is rarely an issue.

-- robin