inxi is a full featured CLI system information tool. It is available in most Linux distribution repositories, and does its best to support the BSDs.
Go to file
inxi-svn 82c3d091a8 Got rid of sanitize_data feature, which forces double dips into awk, instead I put hte cleaners for , and whitespace into
each awk statement. This avoids exiting awk, then looping through the array in bash, then sending the array items to the 
cleaner function, back into awk, then sending it back, and rebuilding the array.

I tried putting the gawk cleaners into a variable and using the variable, but that didn't work as expected, but I'll see 
if i can figure out how to get that working.
2008-11-06 20:32:19 +00:00
inxi Got rid of sanitize_data feature, which forces double dips into awk, instead I put hte cleaners for , and whitespace into 2008-11-06 20:32:19 +00:00