Changeset b614eb09


Ignore:
Timestamp:
10/09/2003 08:17:25 PM (18 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, v5_0, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
58964bd
Parents:
a78534d
Message:

compressdoc patch, intro expansion

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1356 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netprogs/cvs/cvs-intro.xml

    ra78534d rb614eb09  
    22<title>Introduction to <application><acronym>CVS</acronym></application></title>
    33
    4 <para><application><acronym>CVS</acronym></application> is the concurrent
    5 versioning system. This is useful for projects on which multiple people are
    6 working or where archives of previous versions of files need to be kept.</para>
     4<para><application><acronym>CVS</acronym></application> is the Concurrent
     5Versioning System. This is a version control system useful for projects
     6using a central repository to hold files and then tracks all changes made to
     7those files. These instruction install the client used to manuplate the
     8repository, creation of a repository is covered at <xref linkend="cvsserver"/>.
     9</para>
    710
    811<sect3><title>Package information</title>
  • general/genlib/gdbm/gdbm-inst.xml

    ra78534d rb614eb09  
    99make BINOWN=root BINGRP=root install</command></userinput></screen>
    1010
    11 <para>In addition, you may need to install the compatibility
    12 headers for gdbm.  Apache 1.3, for example, will need these headers.
    13 Install the compatibility headers by running the following command:</para>
     11<para>In addition, you may need to install the compatibility headers for
     12<application><acronym>GDBM</acronym></application>.  Apache 1.3, for example,
     13would need these headers. Install the compatibility headers by running the
     14following command:</para>
    1415
    1516<screen><userinput><command>make BINOWN=root BINGRP=root install-compat</command></userinput></screen>
  • general/genlib/gdbm/gdbm-intro.xml

    ra78534d rb614eb09  
    44<para>The <application><acronym>GDBM</acronym></application> package
    55contains the <acronym>GNU</acronym> Database Manager. This
    6 is useful for database routines that use extendible hashing.</para>
     6is a disk file format database which stores key/data-pairs in single
     7files. The actual data of any record being stored is indexed by a unique
     8key, which can be retrieved in less time than if it was stored in a text
     9file.</para>
    710
    811<sect3><title>Package information</title>
  • introduction/welcome/changelog.xml

    ra78534d rb614eb09  
    1212<itemizedlist>
    1313
     14<listitem><para>October 9, 2003 [larry]: applied new compressdoc patch,
     15updated intros on GDBM and CVS and standardized the replaceable in
     16docbook-dsssl.</para></listitem>
     17
     18<listitem><para>October 9th, 2003 [tushar]: Added errno patch for
     19compface. Changed URL for sane.</para></listitem>
     20
    1421<listitem><para>October 8th, 2003 [igor]: Added missing http/ftp
    1522links (part VIII).</para></listitem>
     
    2027
    2128<itemizedlist>
    22 
    23 <listitem><para>October 9th, 2003 [tushar]: Added errno patch for
    24 compface. Changed URL for sane.</para></listitem>
    2529
    2630<listitem><para>October 7th, 2003 [igor]: Added missing http/ftp
  • postlfs/config/compressdoc.xml

    ra78534d rb614eb09  
    1212
    1313<screen><userinput><command>cat &gt; /usr/bin/compressdoc &lt;&lt; "EOF"</command>
    14 
    1514#!/bin/bash
    16 # VERSION: 20031004.0245
     15# VERSION: 20031009.1920
    1716#
    1817# Compress (with bzip2 or gzip) all man pages in a hierarchy and
     
    129128  BASENAME=`basename "${2}" .bz2`
    130129  BASENAME=`basename "${BASENAME}" .gz`
    131   LIST=
    132   [ -f "$DIR"/"${BASENAME}" -o -L "$DIR"/"${BASENAME}" ] &amp;&amp; LIST="${LIST} ${BASENAME}"
    133   [ -f "$DIR"/"${BASENAME}".gz -o -L "$DIR"/"${BASENAME}".gz ] &amp;&amp; LIST="${LIST} ${BASENAME}.gz"
    134   [ -f "$DIR"/"${BASENAME}".bz2 -o -L "$DIR"/"${BASENAME}".bz2 ] &amp;&amp; LIST="${LIST} ${BASENAME}.bz2"
     130  GZ_FILE="$BASENAME".bz2
     131  BZ_FILE="$BASENAME".bz2
    135132
    136133  # Look for, and keep, the most recent one
    137   LATEST=`(cd "$DIR"; ls -1rt $LIST | tail -1)`
    138   for i in $LIST; do
     134  LATEST=`(cd "$DIR"; ls -1rt "${BASENAME}" "${GZ_FILE}" "${BZ_FILE}" 2&gt;/dev/null | tail -1)`
     135  for i in "${BASENAME}" "${GZ_FILE}".gz "${BZ_FILE}".bz2; do
    139136    [ "$LATEST" != "$i" ] &amp;&amp; rm -f "$DIR"/"$i"
    140137  done
     
    344341
    345342      # Check if the file is already compressed with the specified method
    346       BASE_FILE=`basename \`basename "$FILE" .bz2\` .gz`
     343      BASE_FILE=`basename "$FILE" .gz`
     344      BASE_FILE=`basename "$FILE" .bz2`
    347345      if [ "${FILE}" = "${BASE_FILE}${COMP_SUF}" -a "foo${FORCE_OPT}" = "foo" ]; then continue; fi
    348346
    349347      # If we have a symlink
    350348      if [ -h "$FILE" ]; then
    351         case $FILE in
     349        case "$FILE" in
    352350          *.bz2)
    353351            EXT=bz2 ;;
     
    359357
    360358        if [ ! "$EXT" = "none" ]; then
    361           LINK=`ls -l $FILE | cut -d "&gt;" -f2 | tr -d " " | sed s/\.$EXT$//`
     359          LINK=`ls -l "$FILE" | cut -d "&gt;" -f2 | tr -d " " | sed s/\.$EXT$//`
    362360          NEWNAME=`echo "$FILE" | sed s/\.$EXT$//`
    363361          mv "$FILE" "$NEWNAME"
    364362          FILE="$NEWNAME"
    365363        else
    366           LINK=`ls -l $FILE | cut -d "&gt;" -f2 | tr -d " "`
     364          LINK=`ls -l "$FILE" | cut -d "&gt;" -f2 | tr -d " "`
    367365        fi
    368366
     
    394392        # We do decompress first to re-compress with the selected
    395393        # compression ratio later on...
    396         case $FILE in
     394        case "$FILE" in
    397395          *.bz2)
    398396            bunzip2 $FILE
     
    423421        if [ -n "$HLINKS" ]; then
    424422          for i in $HLINKS; do
    425             NEWFILE=`echo $i | sed s/\.gz$// | sed s/\.bz2$//`
     423            NEWFILE=`echo "$i" | sed s/\.gz$// | sed s/\.bz2$//`
    426424            if [ "$LN_OPT" = "-S" ]; then
    427425              # Make this hard-link a soft- one
     
    439437        # Obviously, we shall never ever come here... :-(
    440438        echo "Whaooo... \"${DIR}/${FILE}\" is neither a symlink nor a plain file. Please check:"
    441         ls -l ${DIR}/${FILE}
     439        ls -l "${DIR}/${FILE}"
    442440        exit 1
    443441      fi
  • pst/sgml/docbook-dsssl/docbook-dsssl-config.xml

    ra78534d rb614eb09  
    77<application>OpenJade</application> to convert the <acronym>BLFS</acronym>
    88Book from <acronym>XML</acronym> to <acronym>HTML</acronym>:
    9 <screen><userinput><command>ln -sf {your home directory}/BLFS/BOOK/blfs.dsl \
     9<screen><userinput><command>ln -sf <replaceable>[your home directory]</replaceable>/BLFS/BOOK/blfs.dsl \
    1010/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/</command></userinput></screen>
    1111</para>
  • pst/sgml/sgml-dtd-3/sgml-dtd-3-config.xml

    ra78534d rb614eb09  
    1212<para>Using only the most current 3.x version of
    1313<application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> requires the following:</para>
    14 <screen><userinput><command>cat &gt;&gt;
    15 /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &lt;&lt; "EOF"</command>
     14<screen><userinput><command>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &lt;&lt; "EOF"</command>
    1615  -- Begin Single Major Version catalog changes --
    1716
Note: See TracChangeset for help on using the changeset viewer.