replaced grep -o [Gerardo]

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1401 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
ballabio 2004-10-26 10:48:01 +00:00
parent 0a7851ebb1
commit 73edf36bfa
4 changed files with 16 additions and 16 deletions

8
configure vendored
View File

@ -1925,8 +1925,8 @@ linux* )
g95_version=`$f90 -v 2>&1 | grep "g95"`
if test "$ifort_version" != ""
then
version=`$f90 -V 2>&1 | grep -o "Version[^,]*" |
awk '{print $2}'`
version=`$f90 -V 2>&1 | grep Version |
sed 's/.*Version//' | awk '{print $1}'`
if test `echo $version | sed 's/\..*//'` -lt 8
then
f90_id=ifc
@ -2793,8 +2793,8 @@ linux* )
if test "$icc_version" != ""
then
cc_id=icc
cversion=`$cc -V 2>&1 | grep -o "Version[^,]*" |
awk '{print $2}'`
cversion=`$cc -V 2>&1 | grep Version |
sed 's/.*Version//' | awk '{print $1}'`
echo "${ECHO_T}icc $cversion"
elif test "$pgcc_version" != ""
then

View File

@ -145,8 +145,8 @@ linux* )
g95_version=`$f90 -v 2>&1 | grep "g95"`
if test "$ifort_version" != ""
then
version=`$f90 -V 2>&1 | grep -o "Version[[^,]]*" |
awk '{print $2}'`
version=`$f90 -V 2>&1 | grep Version |
sed 's/.*Version//' | awk '{print $1}'`
if test `echo $version | sed 's/\..*//'` -lt 8
then
f90_id=ifc
@ -275,8 +275,8 @@ linux* )
if test "$icc_version" != ""
then
cc_id=icc
cversion=`$cc -V 2>&1 | grep -o "Version[[^,]]*" |
awk '{print $2}'`
cversion=`$cc -V 2>&1 | grep Version |
sed 's/.*Version//' | awk '{print $1}'`
echo "${ECHO_T}icc $cversion"
elif test "$pgcc_version" != ""
then

8
install/configure vendored
View File

@ -1925,8 +1925,8 @@ linux* )
g95_version=`$f90 -v 2>&1 | grep "g95"`
if test "$ifort_version" != ""
then
version=`$f90 -V 2>&1 | grep -o "Version[^,]*" |
awk '{print $2}'`
version=`$f90 -V 2>&1 | grep Version |
sed 's/.*Version//' | awk '{print $1}'`
if test `echo $version | sed 's/\..*//'` -lt 8
then
f90_id=ifc
@ -2793,8 +2793,8 @@ linux* )
if test "$icc_version" != ""
then
cc_id=icc
cversion=`$cc -V 2>&1 | grep -o "Version[^,]*" |
awk '{print $2}'`
cversion=`$cc -V 2>&1 | grep Version |
sed 's/.*Version//' | awk '{print $1}'`
echo "${ECHO_T}icc $cversion"
elif test "$pgcc_version" != ""
then

View File

@ -145,8 +145,8 @@ linux* )
g95_version=`$f90 -v 2>&1 | grep "g95"`
if test "$ifort_version" != ""
then
version=`$f90 -V 2>&1 | grep -o "Version[[^,]]*" |
awk '{print $2}'`
version=`$f90 -V 2>&1 | grep Version |
sed 's/.*Version//' | awk '{print $1}'`
if test `echo $version | sed 's/\..*//'` -lt 8
then
f90_id=ifc
@ -275,8 +275,8 @@ linux* )
if test "$icc_version" != ""
then
cc_id=icc
cversion=`$cc -V 2>&1 | grep -o "Version[[^,]]*" |
awk '{print $2}'`
cversion=`$cc -V 2>&1 | grep Version |
sed 's/.*Version//' | awk '{print $1}'`
echo "${ECHO_T}icc $cversion"
elif test "$pgcc_version" != ""
then