mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added a debugger output for sed version
This commit is contained in:
parent
5df28d48a6
commit
d07e2c6cb6
3
inxi
3
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
|
||||
|
|
Loading…
Reference in a new issue