tr from the command line

plug-discuss@lists.plug.phoenix.az.us plug-discuss@lists.plug.phoenix.az.us
Tue, 14 May 2002 18:10:38 -0700


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