Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well it depends which one you do. Nobody greps PDFs. And even if you have the article as plain text file you woulnd't grep to see nearby text, you would use your editor's equivalent of ctrl+f.

ctrl+f is about finding the context of something

grep is about filtering out the irrelevant information

Linux utility "less" which is the best tool to browse logs ever has both ctrl+f equivalent(/), and grep equivalent (&) and both are useful.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: