Handling special characters (\/:*?"<>|) gracefully
Dave Korn
dave.korn@artimi.com
Wed May 24 12:28:00 GMT 2006
On 24 May 2006 11:46, Brian Dessent wrote:
> Dave Korn wrote:
>
>> Well, the /real/ problem about those files (which matched DOS special
>> device names) was that you couldn't remove them from cygwin either; not
>> being able to delete them from the very same command shell where you
>> created them is far worse than having to use the same tool to delete
>> something that you used to create it.
>
> You can create and delete them fine from Cygwin using the native path
> (touch '//?/c:/nul') but that wasn't very intuitive.
>
> Brian
IIRC, it wasn't just that, but that you could create them by doing "touch
nul" but couldn't then remove them with "rm nul", albeit that the long syntax
still worked.
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Cygwin-talk
mailing list