4 ms·
I don't think grep does any argv-stuff; I took a quick look and I don't see it. As far as I can tell this is the entire maintenance burden: $ cat =egrep =fg
by Beltalowda 4y ago
I don't think grep does any argv-stuff; I took a quick look and I don't see it.
As far as I can tell this is the entire maintenance burden:
$ cat =egrep =fgrep
#!/bin/sh
exec grep -E "$@"
#!/bin/sh
exec grep -F "$@"
- yubiox 4y agowhat shell does this?
- forgotpwd16 4y agoApparently zsh replaces =cmd with cmd's absolute path. TIL.
- Beltalowda 4y agoYes, very useful to bypass aliases if need be, quickly edit a script ("vi =my-script"), etc. I don't think bash has it; you need to use where/whence/which/command/whatever (I can never remember, why are there so many?!)