> for i in logs; do
>
>  cat $i |sed 's/+0100/-0500/' > $i.tmp
>  mv -f $i.tmp $i
>
> done

Right.. but again (as I stated) in case people ignore my posting, you need
the g on the end of the s statement in case there's more than one thing to
replace on a line :) If there isn't, it's not a problem but you still need
it just in case.

I'm tired.. need sleep.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to