this solves the problem exposed when there is no ipv6 output, and thus the last line used to test for end of record was vanished.
now it's all just treated like ifconfig except a few small differences of which item to slice out.
A case where pcibusid includes the pre- 0000: appeared, that broke the -N pcibus id handling for -n, which made for no output.
Now inxi will just slice off that in the initial lspci creator.
several bug fixes, one quite serious (not caused by inxi, lsusb -v takes 1 minute to run in some releases).
The lsusb bug is very bad, and hopefully someone will report that upstream, at Arch and Debian Sid it's seen.
lsusb -v hangs very badly.
Another bug fix with error output for some unknown reason on using cat on some /sys files for networking.
Layout bug fixes as well.
Package maintainers, this one is a real bug squasher release, thanks.
This required recoding that function, so I also made -i show IPv6 with -x as well. Might as well start getting used to it.
Also fixed and added wrapping for the -i output, that wasn't working right before, now is standardized to other lines.
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.