got rid of that horrible banlist array/function thing, now it's hard coded.
On a dual core system, this saves literally 0.1 seconds on execution, about 10-20% of execution time.
this also fixes a bug that has always existed, which is if you use spaces to replace instead of ''.
Another advantage of this new method it fixes the fact that each and every string character would be considered a match, null replaced with null.
This was due to the fact that each banlist string started with |, ie, it contained a null character in the search pattern... sigh.
This is why we don't use stupid bash tricks, ok people? They hide bugs, and make the code write only.
New internal line character counter implemented, with support for user set line lengths for both irc and console.
More line wrapping added, and some fine tuned. Also wraps -A now, and adds alsa information to end of first line as well if > 1 card and less than line length max
fixed a bug with remote mounted partitions, created line length counter function that cleans off color code characters to allow for accurate
line counts for line breaks.
Removed legacy print code, repeated code blocks for single/multiple cards, for audio/network.
Made also always print out whether or not a card is present, since you can have alsa without having a card.
This actually shortened inxi for once, and simplified some legacy methods that were totally unnecessary and just complicated the print functions, now all print
functions use the same for loop print out methods on arrays.
Optimized graphics driver function massively, knocked off about 60% of execution time by switching to a single read through via
gawk..
In terms of dual core system, that saved literally about 1 second execution total time.