[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Handling filenames with spaces.
> I'm surprised nobody mentioned is already, but the easiest way to use
> spaced filenames is to escape it with '\'. ie:
>
> "/mnt/win/Program Files/"
>
> becomes
>
> /mnt/win/Program\ Files/
ah yes, but as soon as you get several spaces, then a single
pair of quotes becomes by far the easiest solution. You also
avoid 'leaning toothpick syndrome' (as frequently appear in Perl
regular expressions: /\/mnt\/win/\/Program\s+Files\// ;-)
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.