Suggestion for regtool
DJ Delorie
dj@delorie.com
Thu Jan 20 20:33:00 GMT 2000
No, just a simple backslash checker:
for (sp=dp=buf; *sp; sp++)
if (*sp == '\\')
*dp++ = *++sp;
else if (*sp == '/')
*dp++ = *sp;
else
*dp++ = *sp;
I just want the meaning of '\\' to not be dependent on the character
following it. I hadn't thought of adding codes for newline etc, but I
can see how that would be useful. What does bash support?
Another option is to use HTTP or MIME quoting, like %30 is a '0' or
=45 for 'E'. I'm not sure which would be more "natural" for cygwin
users.
More information about the Cygwin-developers
mailing list