diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-10-21 03:35:14 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-10-21 03:35:14 +0000 |
commit | 800f6ea0950a15c52f11933e0eebfcae30a576e8 (patch) | |
tree | 08e8b32d30d476ac35e543df7b061f67a542325c | |
parent | 5b24cd9abe3c73c0e674df2e5078416a92686e94 (diff) |
Minor spacing and xml fixes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9639 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter06/gmp.xml | 2 | ||||
-rw-r--r-- | chapter06/grep.xml | 2 | ||||
-rw-r--r-- | chapter06/iproute2.xml | 2 | ||||
-rw-r--r-- | prologue/hostreqs.xml | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index 7bad38fa3..4a2e490d6 100644 --- a/chapter06/gmp.xml +++ b/chapter06/gmp.xml @@ -52,7 +52,7 @@ <para>First, fix a minor error noted on the upstream web page:</para> -<screen><userinput remap="pre"> sed -i 's/np + dn, qn/& - dn/' mpn/generic/dcpi1_bdiv_q.c</userinput></screen> +<screen><userinput remap="pre">sed -i 's/np + dn, qn/& - dn/' mpn/generic/dcpi1_bdiv_q.c</userinput></screen> <para>Prepare GMP for compilation:</para> diff --git a/chapter06/grep.xml b/chapter06/grep.xml index c354512fd..4622bdb90 100644 --- a/chapter06/grep.xml +++ b/chapter06/grep.xml @@ -42,7 +42,7 @@ <para>First, fix a small problem with a test script:</para> -<screen><userinput>sed -i 's/cp/#&/' tests/unibyte-bracket-expr</userinput></screen> +<screen><userinput remap="pre">sed -i 's/cp/#&/' tests/unibyte-bracket-expr</userinput></screen> <para>Prepare Grep for compilation:</para> diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml index 050b682bc..051483fb7 100644 --- a/chapter06/iproute2.xml +++ b/chapter06/iproute2.xml @@ -49,7 +49,7 @@ <ulink url="&blfs-root;view/svn/server/databases.html#db"/>. </para> -<screen><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen> +<screen><userinput remap="pre">sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen> <para>Compile the package:</para> diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml index a578f4ab0..b1aa90323 100644 --- a/prologue/hostreqs.xml +++ b/prologue/hostreqs.xml @@ -154,11 +154,11 @@ export LC_ALL=C # Simple script to list version numbers of critical development tools bash --version | head -n1 | cut -d" " -f2-4 -echo "/bin/sh -> `readlink -f /bin/sh`" +echo "/bin/sh -> `readlink -f /bin/sh`" echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- bison --version | head -n1 if [ -e /usr/bin/yacc ]; - then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; + then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; else echo "yacc not found"; fi bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6- echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2 @@ -166,7 +166,7 @@ diff --version | head -n1 find --version | head -n1 gawk --version | head -n1 if [ -e /usr/bin/awk ]; - then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; + then echo "/usr/bin/awk -$gt; `readlink -f /usr/bin/awk`"; else echo "awk not found"; fi gcc --version | head -n1 /lib/libc.so.6 | head -n1 | cut -d"," -f1 @@ -181,7 +181,7 @@ sed --version | head -n1 tar --version | head -n1 echo "Texinfo: `makeinfo --version | head -n1`" xz --version | head -n1 -echo 'main(){}' > dummy.c && gcc -o dummy dummy.c +echo 'main(){}' > dummy.c && gcc -o dummy dummy.c if [ -x dummy ]; then echo "Compilation OK"; else echo "Compilation failed"; fi rm -f dummy.c dummy |