This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Suggestion for regtool
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.