A bug report that I received.

---------- Forwarded message ----------
From: Vic Kovacs <[EMAIL PROTECTED]>
Date: Jan 28, 2007 6:20 AM
Subject: LFS Script suggestion
To: [EMAIL PROTECTED]


Could I advocate adding a chmod to the script in
http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html?
 My system won't run the script without it. . .

cat > version-check.sh << "EOF"; chmod ugo+x version-check.sh
 #!/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
 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 | head -n1 | cut -d" " -f1-3,5-7
make --version | head -n1
patch --version | head -n1
 sed --version | head -n1
tar --version | head -n1

 EOF

bash version-check.sh



-- 
Tushar Teredesai
   mailto:[EMAIL PROTECTED]
   http://www.linuxfromscratch.org/~tushar/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to