2 ms·
Does it though? I mean we’re really talking about a teeny tiny little startup code to read arg0 and use it to do the equivalent of passing -E or -P.
by Spivak 4y ago
Does it though? I mean we’re really talking about a teeny tiny little startup code to read arg0 and use it to do the equivalent of passing -E or -P.
- LukeShu 4y agoEven simpler than that! GNU grep hasn't done arg0-inspection since 2002; since then `fgrep` and `egrep` have been short[1] shell scripts. [1]: 11 lines at the longest, 2 lines at the shortest; currently 4 lines https://git.savannah.gnu.org/cgit/grep.git/tree/src/egrep.sh?h=v3.8 https://git.savannah.gnu.org/cgit/grep.git/tree/src/egrep.sh...