troglobit/netcalc

Need option to suppress all color coding in output

dkerr64 opened this issue · 4 comments

netcalc needs a way to output without any color coding. The control characters inserted before IPv6 addresses make it impossible to parse the strings output within another script (e.g. bash). So, for example, you cannot rely on substring:position because there are hidden control characters imbedded into the front of the ip address string.

@troglobit read your mind :-) and committed a -c option to do that. 390def6 a few hours ago.

Yup

thanks, I'll give it a try