Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-09 | g: add lua, mk, ml, mli, myr, and sh suffixes | kvik | |
2020-12-19 | g: initialize files env var | Sigrid | |
2020-11-22 | g: fix typo in last commit | Ori Bernstein | |
2020-11-21 | g: filter directory arguments | Ori Bernstein | |
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} | |||
2020-07-14 | g: add '.hs' and 'mkfile' to the walk. (thanks joe9) | Ori Bernstein | |
This expands the set of files that we grep through by default to include mkfiles and haskell. | |||
2020-02-26 | walk arguments to g | Ori Bernstein | |
This allows us to 'g' the files within a directory, as in: g _MAX /sys/include/ape Before this change, we'd attempt to grep the directory structure, which is not ideal. After, we grep the files within the directory. | |||
2019-06-04 | Remove trailing whitespace. | Ori Bernstein | |
2019-06-04 | Lost a trailing \n | Ori Bernstein | |
2019-06-04 | Make 'g' grep recursively by default. | Ori Bernstein | |
2018-02-27 | g: revert accidental change, document missing file type | glenda | |
2018-02-26 | games/mix: fix incorrect line numbers | glenda | |
2016-03-13 | g: dont pollute the environment (thanks BurnZeZ) | cinap_lenrek | |
2015-03-08 | g: search .awk and .rc files | stanley lieber | |
2014-06-05 | g: add *.cpp | ftrvxmtrx | |
2012-07-08 | g: chmod +x | cinap_lenrek | |
2012-07-05 | g: more extensions | cinap_lenrek | |
2012-07-05 | g: expand matched files list and add to grep(1) man page | stanley lieber | |
2011-11-24 | merge | cinap_lenrek | |
2011-11-21 | add rc scripts ", "" and g from rsc | stanley lieber | |