Not that I am the one to decide ...
but what is easier to "read"
sed  s%"`which bash`"%"'echo '/tools/bin/bash'`"% -i /somescript.sh
or
sed  s%"$(which bash)"%$(echo '/tools/bin/bash')"% -i /somescript.sh

if you read a book?

you could also make a statement at the beginning of the book that this
is for bash compatible shells only and that you can substitude any
$(...) construct with `...`

-- 
  H
CUH Rainer Peter Feller
  H

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to