Ask HN: How do I combine grep and scrot?

2 points by oriori ↗ HN
I have a folder of 100 text files and want to take a separate screenshot of the lines in each file where the word Japanese is mentioned, how can I do this?

1 comment

[ 1.8 ms ] story [ 14.5 ms ] thread
Look up a basic tutorial for BASH programming. It should be pretty easy to set up with an IF statement and a Greater Than comparison.