On page :

http://www.linuxfromscratch.org/lfs/view/development/prologue/hostreqs.html

There is no entry to check the version of perl in the script.

Perhaps we could add :

perl --version | head -2 | tail -1

thus :

#!/bin/bash
# Simple script to list version numbers of critical development tools
bash --version | head -n1 | cut -d" " -f2-4
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4
bison --version | head -n1
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
gcc --version | head -n1
/lib/libc.so.6 | head -n1 | cut -d" " -f1-7
grep --version | head -n1
gzip --version | head -n1
cat /proc/version
make --version | head -n1
patch --version | head -n1
perl --version | head -2 | tail -1
sed --version | head -n1
tar --version | head -n1

Output on this unit says :

bash, version 3.1.17(1)-release
Binutils: version 2.17
bison (GNU Bison) 2.3
bzip2,  Version 1.0.3, 15-Feb-2005.
Coreutils:  5.97
diff (GNU diffutils) 2.8.1
GNU find version 4.2.28
GNU Awk 3.1.5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
GNU C Library stable release version 2.3.6,
grep (GNU grep) 2.5.1
gzip 1.3.12
Linux version 2.6.19-rc6 ([EMAIL PROTECTED]) (gcc version 4.1.2 20060901
(prerelease) (Debian 4.1.1-13)) #35 PREEMPT Mon Nov 27 20:48:16 CET 2006
GNU Make 3.81
patch 2.5.9
This is perl, v5.8.8 built for powerpc-linux-gnu-thread-multi
GNU sed version 4.1.5
tar (GNU tar) 1.16


-
Dennis Clarke

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to