
12-23-2007
|
|
Registered User
|
|
|
Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 717
|
|
Hi, shamrock.
Quote:
Originally Posted by shamrock
Code:
find . -name "*.dsp" | xargs -i sed 's/Test.lib//g' {}
|
Did you mean:
Code:
find . -name "*.dsp" | xargs sed -i 's/Test.lib//g'
that is, to supply "-i" to sed as opposed to xargs?
Otherwise, the sed operation will not be written "in place" and the sed output for all files will go to STDOUT ... cheers, drl
Last edited by drl; 12-24-2007 at 07:17 AM..
|