mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
maybe tweak needed
This commit is contained in:
parent
b698be9168
commit
c5600fa3d1
2
inxi
2
inxi
|
@ -2861,7 +2861,7 @@ get_de_version()
|
||||||
}
|
}
|
||||||
/'$2'/ {
|
/'$2'/ {
|
||||||
# sample: dwm-5.8.2, ©.. etc, why no space? who knows. Also get rid of v in number string
|
# sample: dwm-5.8.2, ©.. etc, why no space? who knows. Also get rid of v in number string
|
||||||
sub(/(dwm-|wmii-|v)/, "",$'$3')
|
sub(/(dwm-|wmii-|v|V)/, "",$'$3')
|
||||||
gsub(",","",$0) # xfce, and other, output has , in it, so dump all commas
|
gsub(",","",$0) # xfce, and other, output has , in it, so dump all commas
|
||||||
print $'$3'
|
print $'$3'
|
||||||
exit # quit after first match prints
|
exit # quit after first match prints
|
||||||
|
|
Loading…
Reference in a new issue