Re: Frage zu grep
Also sprach Dirk Deimeke <debian@deimeke.net> (Thu, 17 Feb 2005 15:45:28 +0100):
> in dem Zusammenhang: Was ist eigentlich der Unterschied zwischen "`<Befehl>`"
> und "$(Befehl)"?
aha. das hat mich jetzt doch interessiert.
When the old-style backquote form of substitution is used, backslash
retains its literal meaning except when followed by $, `, or \. The
first backquote not preceded by a backslash terminates the command sub-
stitution. When using the $(command) form, all characters between the
parentheses make up the command; none are treated specially.
Command substitutions may be nested. To nest when using the backquoted
form, escape the inner backquotes with backslashes.
If the substitution appears within double quotes, word splitting and
pathname expansion are not performed on the results.
Manual page bash(1) line 1243
sl ritch.
Reply to: