added N/A filter to data

This commit is contained in:
inxi-svn 2011-06-08 05:19:46 +00:00
parent bba4e30abd
commit 84756bf5e6

4
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 1.5.994
#### version: 1.5.995
#### Date: June 7 2011
########################################################################
#### SPECIAL THANKS
@ -3781,7 +3781,7 @@ get_machine_data()
}
{
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(/ [ \t]+/, " ", $0)
print $0