Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
smellf
on Oct 13, 2022
|
parent
|
context
|
favorite
| on:
We are stuck with egrep and fgrep (unless you like...
Actually it turns out that, at least in debian 11, you were right on the money:
cat `which egrep` #!/bin/sh exec grep -E "$@"
But I agree that it would be cleaner and trivial to implement this behavior by depending on argv[0], GNU style guide be damned.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: