← Back to team overview

ubuntuone-users team mailing list archive

Re: ubuntuone client default folder

 

>
> > This breaks a LOT of shell scripts. It's possible to code around this,
> > of course, but I don't think the system should use such names by
> > default.
>
> ah, but that's not globbing, that is improper escaping. So, IMHO,
> those scripts are broken (and yes, a space would tickle the
> bug). Scripts should always be prepared for funny characters in
> filenames; in this case it would be
>
>    for file in "`ls | grep Ubu`"; do echo "$file"; done
>
> so... ok, if you think what should be fixed are filenames and not the
> tools, that's your POV and I respect it, but please don't call it
> "globbing". Call it "interpolation" or "substitution" if you need
> something word-size.
>
>
Spaces in filenames also break some gui "copy & paste" operations. Harder to
fix, as it requires knowledge of context, where the name is being pasted
into.


Andrew Yeomans

Follow ups

References