On 2013-02-12, at 13:22, Chris Down wrote: > Considering he's already doing rudimentary filtering through in *addition* > to sed calls, awk is more generalisable choice to the problem set.
Alternatively, you could say that sed is the more generalisable choice since grep is pretty much a subset of sed. sed -E 's/\s\+// ; /"(vim|surf):"/d' -Truls