mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
More tweaks to version-check.sh
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8521 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
d439604a8b
commit
3f8f0edef3
@ -137,16 +137,18 @@ export LC_ALL=C
|
|||||||
# Simple script to list version numbers of critical development tools
|
# Simple script to list version numbers of critical development tools
|
||||||
|
|
||||||
bash --version | head -n1 | cut -d" " -f2-4
|
bash --version | head -n1 | cut -d" " -f2-4
|
||||||
ls -l `which sh`
|
echo "/bin/sh -> `readlink -f /bin/sh`"
|
||||||
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
|
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
|
||||||
bison --version | head -n1
|
bison --version | head -n1
|
||||||
f [ -e /usr/bin/yacc ]; then ls -l /usr/bin/yacc; else echo "yacc not found"; fi
|
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-
|
bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
|
||||||
echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
|
echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
|
||||||
diff --version | head -n1
|
diff --version | head -n1
|
||||||
find --version | head -n1
|
find --version | head -n1
|
||||||
gawk --version | head -n1
|
gawk --version | head -n1
|
||||||
if [ -e /usr/bin/awk ]; then ls -l /usr/bin/awk; else echo "awk not found"; fi
|
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
|
gcc --version | head -n1
|
||||||
/lib/libc.so.6 | head -n1 | cut -d" " -f1-7
|
/lib/libc.so.6 | head -n1 | cut -d" " -f1-7
|
||||||
grep --version | head -n1
|
grep --version | head -n1
|
||||||
|
Loading…
Reference in New Issue
Block a user