Date: Mon, 25 Nov 2002 22:10:03 -0500 From: "David S. Jackson" <deepbsd@earthlink.net> To: freebsd-questions@freebsd.org Subject: xargs -J Message-ID: <20021125221003.A19207@sylvester.dsj.net>
next in thread | raw e-mail | index | archive | help
Hi,
I've been trying to use |xargs -J [] mv [] [].suffix
but to no avail.
I've tried |xargs -J mv \[\] \[\].suffix and variations but that
doesn't seem to work either. It seems to work fine with the -i
command under GNU xargs, but not under Freebsd.
An example would be
$ touch one two three
$ ls one two three | xargs -J [] mv [] [].suffix
I should now have one.suffix two.suffix three.suffix. At least,
that's what happens with GNU and the -i \{\}. (FreeBSD manpage says
to use -J [] without escapes though.)
Can anyone lend me a clue here please?
TIA.
--
David S. Jackson dsj@dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I have a map of the United States. It's actual size.
I spent last summer folding it. People ask me where
I live, and I say, "E6". -- Steven Wright
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021125221003.A19207>
