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

What's the problem? Just make egrep and fgrep shell aliases in the default /etc/profile (if you're a distro maintainer).

Also, where's the extra fork?

    #!/bin/sh
    exec grep -E "$@"


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

Search: