Date: Mon, 1 Oct 2001 13:57:12 +0200 From: Peter Wullinger <Peter.Wullinger@stud.fh-regensburg.de> To: hackers@freebsd.org Subject: Re: how to make 'for' understand two words as a single argument Message-ID: <20011001135712.A3593@rfhpc8320.fh-regensburg.de> In-Reply-To: <20011001135119.B17764@pc04.ipc-kallmuenz.de>; from wullinger@ipc-fabautomation.com on Mon, Oct 01, 2001 at 01:51:19PM %2B0200 References: <20011001135119.B17764@pc04.ipc-kallmuenz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 01, 2001 at 01:51:19PM +0200, Peter Wullinger wrote: >=20 > find . -type d -maxdepth 1 -print -exec mv {} `echo {} | tr [A-Z] [a-z]` > \; This does not work either, since it rename directories while still processi= ng it... And it renames only dirs ;-) Try your old script and setup IFS to newline=20 Sorry, I don't know any more how to do this, it is either IFS=3D"\ " or IFS=3D"\n"; Peter =20 --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.0 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQE7uFoX2o6XoYZo6n4RAvTVAJ0SSeSdrnkIqrPn02Po3MR3cWG5/gCfVqp6 rLuejmMoGIzkNK84i7bS7es= =QkGj -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011001135712.A3593>