Hello J�rg,

>>  * of command substitution, <backslash> shall
>>  * retain its literal meaning, except when
>>  * followed by: '$', '`', or <backslash>. The

>Am I missing someting? I cannot see a \ before $ ` or \
>in the example code.

I read “shall retain its literal meaning” as “the
backslash should stay a backslash and not be an
escape character”. That means…
        directory="`basename \"$ACRO_INSTALL_DIR\"`"
becomes
        directory="$(basename \"$ACRO_INSTALL_DIR\")"
and not
        directory="$(basename "$ACRO_INSTALL_DIR")"
as in “common/non-POSIX” mode. (The outer quotes are,
of course, redundant for the $(…) comsub style.)

bye,
//mirabilos
-- 
Solange man keine schmutzigen Tricks macht, und ich meine *wirklich*
schmutzige Tricks, wie bei einer doppelt verketteten Liste beide
Pointer XORen und in nur einem Word speichern, funktioniert Boehm ganz
hervorragend.           -- Andreas Bogk über boehm-gc in d.a.s.r

Reply via email to