Dimitry Naldayev wrote: > Bruce Dubbs <[EMAIL PROTECTED]> writes: > >> Randy McMurchy wrote: >> >>> Just for the record, I'll go out on a limb (not really on a limb as >>> I can prove it with real life, actual circumstances) that the >>> $(...) syntax will work in situations where `...` will not. >> You have me interested. Can you give an example? >> > Hmm... and what about constructions like this one: > for i in $(echo $(ls)) ; do ... ; done > are there ways change $() with `...` in this example?
Well you could use for i in * ; do ... ; done :) but to answer your real question, consult the bash man page: "Command substitutions may be nested. To nest when using the back- quoted form, escape the inner backquotes with backslashes." -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page