Settings

Theme

Ask HN: How do I combine grep and scrot?

2 points by oriori 4 years ago · 1 comment · 1 min read


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?

LeoSolaris 4 years ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection