I've been working on Unix for 15 years, and quoting problems still give me a
headache. It's even worse when I'm working on a script on NT, using Cygwin, as
NT seems delighted to use backslashes as ordinary characters.
I have an "lp" script, which takes a printer name as a command-line parameter,
which will have multiple backslashes in it. I need to take that exact
parameter and eventually pass it to the DOS "print" command. This has to
happen without losing any of the backslashes.
Is there a straightforward way to do this, using bash on Cygwin?