Changeset adba2da


Ignore:
Timestamp:
01/26/2023 04:40:42 PM (15 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
139b77e
Parents:
c349b4a
Message:

Add a comment about nested command substitution

"The command below shows an example of nested command substitution

using two methods: backquotes and a $() construct. It could be
rewritten using the same method for both substitutions, but is
shown this way to demonstrate how they can be mixed. Generally
the $() method is preferred."

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    rc349b4a radba2da  
    209209    in normal circumstances:</para>
    210210
     211    <note>
     212      <para>The command below shows an example of nested command substitution
     213      using two methods: backquotes and a $() construct.  It could be rewritten
     214      using the same method for both substitutions, but is shown this way
     215      to demonstrate how they can be mixed.  Generally the $() method is
     216      preferred.</para>
     217    </note>
     218
    211219<screen><userinput remap="install">cd ..
    212220cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
Note: See TracChangeset for help on using the changeset viewer.