Help with either bash or find...

Gordon Messmer yinyang at eburg.com
Fri May 9 17:30:49 UTC 2008


Todd Zullinger wrote:
> I think something similar with xargs would work too:
>
> find -name '*.mpc' -print0 | \
>     xargs -0 -i mppdec "{}" "`echo {} | sed s/.mpc/.wav`"
>   

No, because the section in backticks would be executed by the shell, 
before xargs.

xargs can't be used to run anything with shell substitution.  It doesn't 
call system().




More information about the fedora-list mailing list