tr from the command line
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
This message is part of the following thread:
the complete thread tree sorted by date
Kevin Buettner at 2002-05-15 01:01
2002-05-15 01:01
Matt Alexander at 2002-05-15 01:14
2002-05-15 01:14
Attachments:
Message as email
(text/plain)
Author:
plug-discuss@lists.plug.phoenix.az.us
Date:
2002-05-15 01:10
2002-05-15 01:10
-000
UTC
Subject:
tr from the command line
On Tue, May 14, 2002 at 05:49:09PM -0700, Matt Alexander wrote:
> for file in `ls *log`;do mv $file `echo $file | sed 's/_log$/.log/'`;done
Shouldn't that be: for file in `ls *log`; do mv $file `echo $file |sed 's/_log$/\.log/'`; done
Or am I completely flipping out? =op
--
Thomas "Mondoshawan" Tate
mondoshawan@tank.dyndns.org
http://tank.webhop.org