Martin Pitt <[email protected]> writes: > Hello Jari, > > Jari Aalto [2009-04-10 1:31 +0300]: >> The following patch adjusts /etc/init.d/apache2 to use POSIX $() >> command substitution[1]. > > Backtick style command substitution is also well-defined as far as I > can see. What's the rationale for the change? > > For normal scripts I wouldn't care so much, but I would like to have a > convincing reason for changing a conffile.
- The $() was introduced to POSIX to improve readability. - The $() is more safe. It nests, and "...all characters between the parentheses make up the command; none are treated specially"[1] Jari [1] http://www.gnu.org/software/bash/manual/bashref.html#Command-Substitution -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

