diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-11-21 21:23:46 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-11-21 21:23:46 -0800 |
commit | 97008caa4174cee3dd849d9962c529897717e333 (patch) | |
tree | 34beeece6eadfc2d7b02f5ad78b31dbf0c5064fb /sys/src | |
parent | d1dc287210afd73705c21675dcbaa4eaf997fdde (diff) |
g: filter directory arguments
When searching directories recursively, it's still
desirable to filter the contents by the file pattern,
so that 'g foo /sys/src' doesn't end up searching for
foo within .$O files.
Files passed explicitly are still searched, so for the
old behavior, just use walk:
g foo `{walk -f $dir}
Diffstat (limited to 'sys/src')
0 files changed, 0 insertions, 0 deletions