>>>>> "Alex" == Alex Malinovich <demonbane@the-love-shack.net> writes:
Alex> Using xargs works for me if I use the --quote option for the
Alex> script. But the default behavior still produces \\ instead of a
Alex> single \. Though, as I've said, just letting the script print to
Alex> screen shows only a single \. Any suggestions?
That's strange. It works for me. Which shell are you using? I tried
both tcsh (6.11.00-2.1) and bash (2.05a-12). xargs from findutils
4.1.7-2. Hmm. Maybe your version of xargs doesn't grok escaping?
Does "man xargs" say anything about it? Mine says:
DESCRIPTION
This manual page documents the GNU version of xargs.
xargs reads arguments from the standard input, delimited
by blanks (which can be protected with double or single
quotes or a backslash) ...
--
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net. Encrypted e-mail preferred.
Attachment:
pgpb0UVCQeeVe.pgp
Description: PGP signature