This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: Handling special characters (\/:*?"<>|) gracefully
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'discontinuity in the space-time continuum'" <cygwin-talk at cygwin dot com>
- Date: Wed, 24 May 2006 13:25:01 +0100
- Subject: RE: Handling special characters (\/:*?"<>|) gracefully
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
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....