Relative Content

Tag Archive for bashsednetcat

Why doesn’t sed work with my netcat input?

netcat -k -l 10080 | grep –line-buffered “GET /” | cut -b6- | sed “s/HTTP.*//”
It works fine if I feed it a log file but when given the real thing it won’t output.
So I tried to add -u to set but it still won’t work