diff options
author | Googler <noreply@google.com> | 2016-09-06 18:01:11 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2016-09-07 10:34:22 +0000 |
commit | 86a40472a490e8cc8b1793db17b012b0fc21cd23 (patch) | |
tree | 44757dfd9815c4bba2dd3b576aee00076b67846c /examples | |
parent | 900202fe4418490abca96afd7ebf2b92268be244 (diff) |
Properly avoid aliases when invoking grep. Using $(which grep) instead of plain grep does not avoid alias interference, it merely trades problems when "grep" is an alias for problems when "which" is an alias (both are commonly defined as aliases).
A more reliable way to turn off alias expansion is to simply quote the command name, which is what I'm doing here.
--
MOS_MIGRATED_REVID=132338563
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions