[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] xargs w/ tr
- Subject: [ale] xargs w/ tr
- From: dsj at sylvester.dsj.net (David S. Jackson)
- Date: Fri, 3 Jan 2003 14:33:25 -0500
I was just experimenting with xargs and tr and wondered why the
following didn't work as expected:
locate *.{mp3,MP3} | xargs -I % mv % `echo %|tr A-Z a-z`
What happens is the second % doesn't seem to get tr'ed. Any idea why?
I know there are lots of other ways to do this, but I'm just curious
about why tr doesn't seem to work here (or maybe it's xargs...).
--
David S. Jackson dsj at dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Life is divided into the horrible and the miserable.
-- Woody Allen, "Annie Hall"
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale