Ticket #2462: command-updates.patch

File command-updates.patch, 4.3 KB (added by chris@…, 15 years ago)

Fix -v and -e switches

  • trunk/BOOK/chapter05/glibc.xml

     
    4848    <para>Fix an error in the constants that get passed to the futex system
    4949    call in some cases, causing certain pthread_mutex operations to fail:</para>
    5050
    51 <screen><userinput remap="pre">cp nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S{,.orig}
     51<screen><userinput remap="pre">cp -v nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S{,.orig}
    5252sed -e 's/FUTEX_WAIT\( | FUTEX_CLOCK_REALTIME, reg\)/FUTEX_WAIT_BITSET\1/' \
    5353        &lt;nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S.orig \
    5454        &gt;nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S</userinput></screen>
  • trunk/BOOK/chapter06/texinfo.xml

     
    8585    recreated, the following optional commands will accomplish the task:</para>
    8686
    8787<screen role="nodump"><userinput>cd /usr/share/info
    88 rm dir
     88rm -v dir
    8989for f in *
    9090do install-info $f dir 2&gt;/dev/null
    9191done</userinput></screen>
  • trunk/BOOK/chapter06/mpfr.xml

     
    6565    <para>Install the documentation:</para>
    6666
    6767<screen><userinput remap="install">make html
    68 mkdir -p /usr/share/doc/mpfr-&mpfr-version;
     68mkdir -pv /usr/share/doc/mpfr-&mpfr-version;
    6969find . -name \*.html -type f -exec cp -v \{} /usr/share/doc/mpfr-&mpfr-version; \;</userinput></screen>
    7070
    7171  </sect2>
  • trunk/BOOK/chapter06/binutils.xml

     
    6262    on in the Autoconf instructions:</para>
    6363
    6464<screen><userinput remap="pre">rm -fv etc/standards.info
    65 sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen>
     65sed -i '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen>
    6666
    6767    <para>Fix an issue that causes one of the tests to fail to compile against
    6868    Glibc-&glibc-version;:</para>
    6969
    70 <screen><userinput remap="pre">sed -i -e 's/getline/get_line/' libiberty/testsuite/test-demangle.c</userinput></screen>
     70<screen><userinput remap="pre">sed -i 's/getline/get_line/' libiberty/testsuite/test-demangle.c</userinput></screen>
    7171
    7272    <para>The Binutils documentation recommends building Binutils outside of the
    7373    source directory in a dedicated build directory:</para>
  • trunk/BOOK/chapter06/glibc.xml

     
    6868    Unpack the tarball from within the Glibc source directory:</para>
    6969
    7070<screen><userinput remap="pre">tar -xvf ../glibc-libidn-&glibc-version;.tar.bz2
    71 mv glibc-libidn-&glibc-version; libidn</userinput></screen>
     71mv -v glibc-libidn-&glibc-version; libidn</userinput></screen>
    7272
    7373<!--
    7474    This should have been fixed a long time ago.
     
    115115
    116116<!-- Format below is for proper pdf generation -->
    117117<screen><userinput remap="pre">sed -i \
    118     -e 's/FUTEX_WAIT\( | FUTEX_CLOCK_REALTIME, reg\)/FUTEX_WAIT_BITSET\1/' \
     118    's/FUTEX_WAIT\( | FUTEX_CLOCK_REALTIME, reg\)/FUTEX_WAIT_BITSET\1/' \
    119119    nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S</userinput></screen>
    120120
    121121    <para>The Glibc documentation recommends building Glibc outside of the source
  • trunk/BOOK/chapter06/e2fsprogs.xml

     
    4747    <para>Make sure the version date is in a format compatible with
    4848    <command>configure</command>:</para>
    4949
    50 <screen><userinput remap="pre">sed -i -e "s/July/Jul/" version.h</userinput></screen>
     50<screen><userinput remap="pre">sed -i "s/July/Jul/" version.h</userinput></screen>
    5151
    5252    <para>The E2fsprogs documentation recommends that the package be built in
    5353    a subdirectory of the source tree: </para>