added a debugger output for sed version

This commit is contained in:
inxi-svn 2011-06-20 05:25:41 +00:00
parent 5df28d48a6
commit d07e2c6cb6

3
inxi
View file

@ -1451,6 +1451,9 @@ check_recommends()
if [[ -n $( type -p gawk ) ]];then if [[ -n $( type -p gawk ) ]];then
echo "Gawk version: $( gawk --version 2>&1 | awk 'BEGIN {IGNORECASE=1} /^GNU Awk/ {print $3}' )" echo "Gawk version: $( gawk --version 2>&1 | awk 'BEGIN {IGNORECASE=1} /^GNU Awk/ {print $3}' )"
fi fi
if [[ -n $( type -p sed ) ]];then
echo "Sed version: $( sed --version 2>&1 | awk 'BEGIN {IGNORECASE=1} /^GNU sed version/ {print $4}' )"
fi
if [[ -n $( type -p sudo ) ]];then if [[ -n $( type -p sudo ) ]];then
echo "Sudo version: $( sudo -V 2>&1 | awk 'BEGIN {IGNORECASE=1} /^Sudo version/ {print $3}' )" echo "Sudo version: $( sudo -V 2>&1 | awk 'BEGIN {IGNORECASE=1} /^Sudo version/ {print $3}' )"
fi fi