I‘m trying to craft a filter using just Unix commands. Instead of
tac … | grep -e … -e … | grep -e … -e … | head -n 10
I need to somehow do a union of multiple of these. I can not think of another solution than cat and subprocesses.
I‘m trying to craft a filter using just Unix commands. Instead of
tac … | grep -e … -e … | grep -e … -e … | head -n 10
I need to somehow do a union of multiple of these. I can not think of another solution than cat and subprocesses.
you should start using https://github.com/jqlang/jq and https://github.com/fiatjaf/nak
How are those performance-wise on big files? I always heard that GNU grep is fastest.