For the (2) problem, a fix is in vger CVS already:
--- linux/scripts/ver_linux.jj Fri Jan 8 11:07:51 1999
+++ linux/scripts/ver_linux Fri Jan 8 11:15:51 1999
@@ -25,5 +25,8 @@
'NR==1{if ($5 != "") { n=split($5,buf,"-"); ver=buf[n]; done=1 }}
NR==2{if (done != 1) ver=$3 }
END{print "Net-tools ",ver}'
-loadkeys -h 2>&1 | awk 'NR==1{print "Kbd ",$3}'
+loadkeys -h 2>&1 | awk \
+'(NR==1 && $3) {ver=$3}
+ (NR==2 && $1 ~ /console-tools/) {print "Console-tools ",$3; done=1}
+ END {if (!done) print "Kbd ",ver}'
expr --v | awk '{print "Sh-utils ", $NF}'
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.2.0-pre6 on a sparc64 machine (3958.37 BogoMips)
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/