|
@@ -21,7 +21,8 @@
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
|
<listitem>
|
|
|
- <para><emphasis role="strong">Bash-2.05a</emphasis></para>
|
|
|
+ <para><emphasis role="strong">Bash-2.05a</emphasis> (/bin/sh
|
|
|
+ must be a symbolic or hard link to bash)</para>
|
|
|
</listitem>
|
|
|
|
|
|
<listitem>
|
|
@@ -31,7 +32,8 @@
|
|
|
</listitem>
|
|
|
|
|
|
<listitem>
|
|
|
- <para><emphasis role="strong">Bison-1.875</emphasis></para>
|
|
|
+ <para><emphasis role="strong">Bison-1.875</emphasis> (/usr/bin/yacc
|
|
|
+ must be a link to bison or small script that executes bison)</para>
|
|
|
</listitem>
|
|
|
|
|
|
<listitem>
|
|
@@ -52,7 +54,8 @@
|
|
|
</listitem>
|
|
|
|
|
|
<listitem>
|
|
|
- <para><emphasis role="strong">Gawk-3.0</emphasis></para>
|
|
|
+ <para><emphasis role="strong">Gawk-3.0</emphasis> (/usr/bin/awk
|
|
|
+ must be a link to gawk)</para>
|
|
|
</listitem>
|
|
|
|
|
|
<listitem>
|
|
@@ -134,13 +137,18 @@ 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 -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`";
|
|
|
+ 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
|
|
|
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`";
|
|
|
+ else echo "awk not found"; fi
|
|
|
gcc --version | head -n1
|
|
|
/lib/libc.so.6 | head -n1 | cut -d" " -f1-7
|
|
|
grep --version | head -n1
|
|
@@ -150,8 +158,8 @@ make --version | head -n1
|
|
|
patch --version | head -n1
|
|
|
sed --version | head -n1
|
|
|
tar --version | head -n1
|
|
|
-makeinfo --version | head -n1</literal>
|
|
|
-
|
|
|
+makeinfo --version | head -n1
|
|
|
+</literal>
|
|
|
EOF
|
|
|
|
|
|
bash version-check.sh</userinput></screen>
|