▲ | radarsat1 8 hours ago | |||||||
Side note maybe, but is there an alternative to chaining two greps? | ||||||||
▲ | ykonstant 7 hours ago | parent [-] | |||||||
The most portable way to do it with minimal overhead is with sed:
which generalizes to more terms. Easier to remember and just as portable is
but now you need to launch a full awk.For more ways see https://unix.stackexchange.com/questions/55359/how-to-run-gr... | ||||||||
|