From d07e2c6cb67236ec8ebe3989661738f04a0d25e0 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 20 Jun 2011 05:25:41 +0000 Subject: [PATCH] added a debugger output for sed version --- inxi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inxi b/inxi index efb0bca..1b3d20e 100755 --- a/inxi +++ b/inxi @@ -1451,6 +1451,9 @@ check_recommends() if [[ -n $( type -p gawk ) ]];then echo "Gawk version: $( gawk --version 2>&1 | awk 'BEGIN {IGNORECASE=1} /^GNU Awk/ {print $3}' )" 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 echo "Sudo version: $( sudo -V 2>&1 | awk 'BEGIN {IGNORECASE=1} /^Sudo version/ {print $3}' )" fi