mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added N/A filter to data
This commit is contained in:
parent
bba4e30abd
commit
84756bf5e6
4
inxi
4
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.5.994
|
#### version: 1.5.995
|
||||||
#### Date: June 7 2011
|
#### Date: June 7 2011
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -3781,7 +3781,7 @@ get_machine_data()
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
gsub(/'"$BAN_LIST_NORMAL"'/, "", $0)
|
gsub(/'"$BAN_LIST_NORMAL"'/, "", $0)
|
||||||
gsub(/,|To Be Filled By O.E.M.|Not Available/, " ", $0)
|
gsub(/,|To Be Filled By O.E.M.|Not Available|N\/A/, " ", $0)
|
||||||
gsub(/^ +| +$/, "", $0)
|
gsub(/^ +| +$/, "", $0)
|
||||||
gsub(/ [ \t]+/, " ", $0)
|
gsub(/ [ \t]+/, " ", $0)
|
||||||
print $0
|
print $0
|
||||||
|
|
Loading…
Reference in a new issue