Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2001 09:51:14 -0800
From:      Doug Barton <DougB@gorean.org>
To:        Cliff Sarginson <cliff@raggedclown.net>
Cc:        Ana Romero <anar@ees2.oulu.fi>, Questions FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: fast answer is needed about commands
Message-ID:  <3A79A212.910699DC@gorean.org>
References:  <E14NwZV-000GqM-00@post.mail.nl.demon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
	You guys are all working too hard. :)

Cliff Sarginson wrote:
> 
> for i in *-new
> do
>     mv $i `echo $i | sed "s/-new//"`

mv $i ${i%-new}

> done

No reason for a seperate process at all. 

Doug


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?3A79A212.910699DC>