summaryrefslogtreecommitdiff
path: root/rc/bin/g
AgeCommit message (Collapse)Author
2021-04-09g: add lua, mk, ml, mli, myr, and sh suffixeskvik
2020-12-19g: initialize files env varSigrid
2020-11-22g: fix typo in last commitOri Bernstein
2020-11-21g: filter directory argumentsOri 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-14g: 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-26walk arguments to gOri 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-04Remove trailing whitespace.Ori Bernstein
2019-06-04Lost a trailing \nOri Bernstein
2019-06-04Make 'g' grep recursively by default.Ori Bernstein
2018-02-27g: revert accidental change, document missing file typeglenda
2018-02-26games/mix: fix incorrect line numbersglenda
2016-03-13g: dont pollute the environment (thanks BurnZeZ)cinap_lenrek
2015-03-08g: search .awk and .rc filesstanley lieber
2014-06-05g: add *.cppftrvxmtrx
2012-07-08g: chmod +xcinap_lenrek
2012-07-05g: more extensionscinap_lenrek
2012-07-05g: expand matched files list and add to grep(1) man pagestanley lieber
2011-11-24mergecinap_lenrek
2011-11-21add rc scripts ", "" and g from rscstanley lieber