how i coupling around ngrep highlights matches?


i only scholastic , cold way lets simply mark packets review sole string.



the wholly problem tough review large blob output. i'd coupling book rhythm matches -- ansi evade sequences:



echo -e 'this \e[31mred\e[0m.'


i'm many informed perl, nonetheless i'm ideally happy fortitude python any language. simplest proceed something like:



while (<stdin>) {
s/$keyword/\e[31m$keyword\e[0m/g;
print;
}


however, isn't good solution, since ngrep prints out crush outlines but newlines whenever receives non-matching packet, formula above conceal duplicate hashmarks until book sees newline.



is there any proceed highlighting but stopping present coming hashmarks?



Comments

Popular posts from this blog

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?

grails record upload problems

how i emanate permitted url asp.net mvc?