From: Colin P. Mccabe Date: Thu, 20 Dec 2018 00:10:23 +0000 (-0800) Subject: xy: use reverse sort X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e1e697ca857467f19d60a997e4d4261ed9bd81;p=cmccabe-bin xy: use reverse sort This is a bit of a hack, but it fixes an issue where build/ is visited before src/ --- diff --git a/xy b/xy index a2b9219..8fd6f50 100755 --- a/xy +++ b/xy @@ -10,4 +10,4 @@ find . -noleaf -xdev -name '*.java' \ -o -name '*.go' \ -o -name '*.py' \ -o -name '*.json' \ - | grep $@ | xx + | grep $@ | sort -r | xx