cleaned up

This commit is contained in:
inxi-svn 2011-05-26 21:02:39 +00:00
parent c5600fa3d1
commit c6baa7a03b

2
inxi
View file

@ -2862,7 +2862,7 @@ get_de_version()
/'$2'/ {
# sample: dwm-5.8.2, ©.. etc, why no space? who knows. Also get rid of v in number string
sub(/(dwm-|wmii-|v|V)/, "",$'$3')
gsub(",","",$0) # xfce, and other, output has , in it, so dump all commas
sub(",","",$'$3') # xfce, and other, output has , in it, so dump all commas
print $'$3'
exit # quit after first match prints
}' )