[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sed/awk/fmt question hijacked from Re: Program for quoting text like in email?



On Tue, 2009-06-09 at 20:09 -0700, Brian Wells wrote:
[...]
> You could have done
> 
> sed -e "/.gconf/d" script | sed -e "/.java/d" >script
> 

Oops.  I forgot that this will try to read and write script at the same
time.  Won't work.  But you can still link together many commands, so
long as you don't try to read and write from the same file at once.

> hope this helps,
> Brian C. Wells
> 




Reply to: