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

It's different. Grep was a function of ed ('g/re/p') that was later extracted into its own program to search files that could not fit in memory. Sed then came along and implemented the 's/re/substitution/' functionality from ed for the streaming use case.


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

Search: