Only the first line, thank you very much.
Jarkko Hietaniemi [Fri, 1 Sep 2000 22:36:01 +0000 (22:36 +0000)]
p4raw-id: //depot/perl@7000

hints/solaris_2.sh

index 22a0324..8fe516a 100644 (file)
@@ -45,7 +45,7 @@ case "$archname" in
     ;;
 esac
 
-ccversion="`${cc:-cc} -V 2>&1|sed 's/^cc: //'`"
+ccversion="`${cc:-cc} -V 2>&1|head -1|sed 's/^cc: //'`"
 case "$ccversion" in
 *WorkShop*) ccname=workshop ;;
 *) ccversion='' ;;