from Hacker News

Ask HN: How do I combine grep and scrot?

by oriori on 11/23/21, 12:34 PM with 1 comments

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?
  • by LeoSolaris on 11/23/21, 12:40 PM

    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.