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.

Reply to this note

Please Login to reply.

Discussion

How are those performance-wise on big files? I always heard that GNU grep is fastest.