tr from the command line

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Matt Alexander
Dátum:  
Tárgy: tr from the command line
Same thing. ;-)


On Tue, 14 May 2002 wrote:

> 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
>
> http://tank.webhop.org
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>