Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
4
Impact
~420 people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Jan
14
comment How can I grep in PDF files?
pdfgrep also has a recursive flag. So this answer could perhaps be reduced to: pdfgrep -R pattern /path/. Though it might be less effective if it goes through every file even if it isn't a PDF. And I notice that it has issues with international characters such as å, ä and ö.
Nov
24
comment Replace matched file path with contents of file at the path with sed
I've never encountered non-greedy .* before since sed doesn't support it. Is there documentation for when non-greedy .* stops?
Nov
24
comment Replace matched file path with contents of file at the path with sed
Great thanks! Though why did you put the ? after .*