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

Re: [OT] Collective memory query



In article <[🔎] 87mzzbetsn.fsf@enki.rimspace.net> you wrote:
> Alternately, with sed:
> 
> ] sed -si.orig -e '...' `find . -name '...'`
> 
> More safely, but with more forks:
> 
> ] find . -name '...' -print0 | xargs -0 sed -si.orig -e '...'

BTW: I dont see how xarg would do more forks than the shell? Because the
above version will fork once or not at all (if argument list is too long)
and the below solution will fork as much as needed (which is once in cae the
list fits into the command line). So xargs only forks one more than the
backtick version.

Greetings
Bernd
-- 
eckes privat - http://www.eckes.org/
Project Freefire - http://www.freefire.org/



Reply to: