From 657a0be130fe50dfe39a62a7037e03dcf73050f4 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Thu, 1 Feb 2024 14:35:49 -0800 Subject: [PATCH] add tool to sort .gitignore content We sort with lines starting with # first. We sort with lines starting with * second. We sort with lines that do not start with [#!*] third. We sort with lines starting with ! fourth. Example usage in vim with a keyboard macro f: ```vim :map ^[f 1G!G../../bin/sgi^M ``` or via .vimrc: ```vimrc " sort the entire .gitignore file using ../../bin/sgi :map ^[f 1G!G../../bin/sgi^M ``` NOTE: The ^[ above is ((Escape)) and ^M is ((Control-M)). Example usage in shell: ```sh rm -f t && ../../bin/sgi < .gitignore > t && mv -f t .gitignore ``` Suggested usage: ```sh bin/all-run.sh bin/sort.gitignore -v 1 ``` Sorted all winner .gitignore according to this method. Sorted all year level .gitignore according to this method. Sorted top level .gitignore according to this method. --- .gitignore | 2 +- 1984/anonymous/.gitignore | 4 +- 1984/decot/.gitignore | 2 +- 1984/laman/.gitignore | 2 +- 1984/mullender/.gitignore | 2 +- 1985/applin/.gitignore | 4 +- 1985/august/.gitignore | 4 +- 1985/lycklama/.gitignore | 2 +- 1985/shapiro/.gitignore | 2 +- 1985/sicherman/.gitignore | 2 +- 1986/applin/.gitignore | 4 +- 1986/august/.gitignore | 4 +- 1986/bright/.gitignore | 4 +- 1986/hague/.gitignore | 2 +- 1986/holloway/.gitignore | 2 +- 1986/marshall/.gitignore | 2 +- 1986/pawka/.gitignore | 2 +- 1986/stein/.gitignore | 4 +- 1986/wall/.gitignore | 2 +- 1987/biggar/.gitignore | 4 +- 1987/heckbert/.gitignore | 4 +- 1987/hines/.gitignore | 2 +- 1987/korn/.gitignore | 2 +- 1987/lievaart/.gitignore | 2 +- 1987/wall/.gitignore | 2 +- 1987/westley/.gitignore | 2 +- 1988/applin/.gitignore | 4 +- 1988/dale/.gitignore | 2 +- 1988/isaak/.gitignore | 2 +- 1988/litmaath/.gitignore | 2 +- 1988/phillipps/.gitignore | 2 +- 1988/reddy/.gitignore | 2 +- 1988/robison/.gitignore | 2 +- 1988/spinellis/.gitignore | 2 +- 1988/westley/.gitignore | 2 +- 1989/fubar/.gitignore | 2 +- 1989/jar.1/.gitignore | 2 +- 1989/jar.2/.gitignore | 2 +- 1989/ovdluhe/.gitignore | 2 +- 1989/paul/.gitignore | 2 +- 1989/robison/.gitignore | 2 +- 1989/roemer/.gitignore | 2 +- 1989/tromp/.gitignore | 4 +- 1989/vanb/.gitignore | 2 +- 1989/westley/.gitignore | 4 +- 1990/.gitignore | 2 +- 1990/baruch/.gitignore | 4 +- 1990/cmills/.gitignore | 4 +- 1990/dds/.gitignore | 2 +- 1990/dg/.gitignore | 2 +- 1990/jaw/.gitignore | 4 +- 1990/pjr/.gitignore | 2 +- 1990/scjones/.gitignore | 2 +- 1990/stig/.gitignore | 2 +- 1990/tbr/.gitignore | 2 +- 1990/theorem/.gitignore | 2 +- 1990/westley/.gitignore | 2 +- 1991/ant/.gitignore | 4 +- 1991/brnstnd/.gitignore | 4 +- 1991/buzzard/.gitignore | 4 +- 1991/cdupont/.gitignore | 4 +- 1991/davidguy/.gitignore | 2 +- 1991/dds/.gitignore | 4 +- 1991/fine/.gitignore | 2 +- 1991/rince/.gitignore | 2 +- 1991/westley/.gitignore | 2 +- 1992/.gitignore | 2 +- 1992/adrian/.gitignore | 6 +- 1992/albert/.gitignore | 4 +- 1992/ant/.gitignore | 4 +- 1992/buzzard.1/.gitignore | 4 +- 1992/buzzard.2/.gitignore | 4 +- 1992/gson/.gitignore | 4 +- 1992/imc/.gitignore | 2 +- 1992/kivinen/.gitignore | 2 +- 1992/lush/.gitignore | 2 +- 1992/marangon/.gitignore | 2 +- 1992/nathan/.gitignore | 4 +- 1992/vern/.gitignore | 2 +- 1992/westley/.gitignore | 2 +- 1993/.gitignore | 2 +- 1993/ant/.gitignore | 4 +- 1993/cmills/.gitignore | 4 +- 1993/dgibson/.gitignore | 2 +- 1993/ejb/.gitignore | 2 +- 1993/jonth/.gitignore | 2 +- 1993/leo/.gitignore | 2 +- 1993/lmfjyh/.gitignore | 4 +- 1993/plummer/.gitignore | 2 +- 1993/rince/.gitignore | 2 +- 1993/schnitzi/.gitignore | 2 +- 1993/vanb/.gitignore | 2 +- 1994/.gitignore | 2 +- 1994/dodsond1/.gitignore | 2 +- 1994/dodsond2/.gitignore | 2 +- 1994/horton/.gitignore | 2 +- 1994/imc/.gitignore | 2 +- 1994/ldb/.gitignore | 2 +- 1994/schnitzi/.gitignore | 2 +- 1994/shapiro/.gitignore | 2 +- 1994/smr/.gitignore | 2 +- 1994/tvr/.gitignore | 2 +- 1994/weisberg/.gitignore | 2 +- 1994/westley/.gitignore | 2 +- 1995/.gitignore | 2 +- 1995/cdua/.gitignore | 4 +- 1995/dodsond1/.gitignore | 2 +- 1995/dodsond2/.gitignore | 2 +- 1995/esde/.gitignore | 2 +- 1995/garry/.gitignore | 2 +- 1995/heathbar/.gitignore | 2 +- 1995/leo/.gitignore | 2 +- 1995/makarios/.gitignore | 2 +- 1995/savastio/.gitignore | 2 +- 1995/schnitzi/.gitignore | 2 +- 1995/spinellis/.gitignore | 2 +- 1995/vanschnitz/.gitignore | 2 +- 1996/.gitignore | 2 +- 1996/august/.gitignore | 4 +- 1996/dalbec/.gitignore | 2 +- 1996/eldby/.gitignore | 2 +- 1996/gandalf/.gitignore | 4 +- 1996/huffman/.gitignore | 2 +- 1996/jonth/.gitignore | 2 +- 1996/rcm/.gitignore | 2 +- 1996/schweikh1/.gitignore | 2 +- 1996/schweikh2/.gitignore | 2 +- 1996/schweikh3/.gitignore | 2 +- 1996/westley/.gitignore | 2 +- 1998/.gitignore | 2 +- 1998/banks/.gitignore | 4 +- 1998/bas1/.gitignore | 4 +- 1998/bas2/.gitignore | 4 +- 1998/chaos/.gitignore | 4 +- 1998/df/.gitignore | 2 +- 1998/dlowe/.gitignore | 4 +- 1998/dloweneil/.gitignore | 2 +- 1998/dorssel/.gitignore | 2 +- 1998/fanf/.gitignore | 2 +- 1998/schnitzi/.gitignore | 2 +- 1998/schweikh1/.gitignore | 2 +- 1998/schweikh2/.gitignore | 2 +- 1998/schweikh3/.gitignore | 2 +- 1998/tomtorfs/.gitignore | 2 +- 2000/.gitignore | 2 +- 2000/anderson/.gitignore | 4 +- 2000/bellard/.gitignore | 4 +- 2000/bmeyer/.gitignore | 4 +- 2000/briddlebane/.gitignore | 4 +- 2000/dhyang/.gitignore | 4 +- 2000/dlowe/.gitignore | 2 +- 2000/jarijyrki/.gitignore | 2 +- 2000/natori/.gitignore | 2 +- 2000/primenum/.gitignore | 2 +- 2000/rince/.gitignore | 2 +- 2000/robison/.gitignore | 2 +- 2000/schneiderwent/.gitignore | 2 +- 2000/thadgavin/.gitignore | 2 +- 2000/tomx/.gitignore | 2 +- 2001/.gitignore | 2 +- 2001/anonymous/.gitignore | 4 +- 2001/bellard/.gitignore | 4 +- 2001/cheong/.gitignore | 4 +- 2001/coupard/.gitignore | 4 +- 2001/ctk/.gitignore | 4 +- 2001/dgbeards/.gitignore | 2 +- 2001/herrmann1/.gitignore | 2 +- 2001/herrmann2/.gitignore | 4 +- 2001/jason/.gitignore | 2 +- 2001/kev/.gitignore | 2 +- 2001/ollinger/.gitignore | 2 +- 2001/rosten/.gitignore | 2 +- 2001/schweikh/.gitignore | 2 +- 2001/westley/.gitignore | 2 +- 2001/williams/.gitignore | 2 +- 2004/.gitignore | 2 +- 2004/anonymous/.gitignore | 8 +- 2004/arachnid/.gitignore | 4 +- 2004/burley/.gitignore | 4 +- 2004/gavare/.gitignore | 2 +- 2004/gavin/.gitignore | 2 +- 2004/hibachi/.gitignore | 4 +- 2004/hoyle/.gitignore | 2 +- 2004/jdalbec/.gitignore | 2 +- 2004/kopczynski/.gitignore | 2 +- 2004/newbern/.gitignore | 2 +- 2004/omoikane/.gitignore | 2 +- 2004/schnitzi/.gitignore | 2 +- 2004/sds/.gitignore | 2 +- 2004/vik1/.gitignore | 2 +- 2004/vik2/.gitignore | 4 +- 2005/aidan/.gitignore | 4 +- 2005/anon/.gitignore | 4 +- 2005/boutines/.gitignore | 4 +- 2005/chia/.gitignore | 4 +- 2005/giljade/.gitignore | 4 +- 2005/jetro/.gitignore | 2 +- 2005/klausler/.gitignore | 2 +- 2005/mikeash/.gitignore | 2 +- 2005/mynx/.gitignore | 2 +- 2005/persano/.gitignore | 2 +- 2005/sykes/.gitignore | 2 +- 2005/timwi/.gitignore | 2 +- 2005/toledo/.gitignore | 2 +- 2005/vik/.gitignore | 2 +- 2005/vince/.gitignore | 2 +- 2006/birken/.gitignore | 4 +- 2006/borsanyi/.gitignore | 6 +- 2006/grothe/.gitignore | 2 +- 2006/hamre/.gitignore | 2 +- 2006/meyer/.gitignore | 2 +- 2006/monge/.gitignore | 2 +- 2006/night/.gitignore | 2 +- 2006/sloane/.gitignore | 2 +- 2006/stewart/.gitignore | 6 +- 2006/sykes1/.gitignore | 4 +- 2006/sykes2/.gitignore | 2 +- 2006/toledo1/.gitignore | 2 +- 2006/toledo2/.gitignore | 4 +- 2006/toledo3/.gitignore | 2 +- 2011/akari/.gitignore | 4 +- 2011/blakely/.gitignore | 4 +- 2011/borsanyi/.gitignore | 4 +- 2011/dlowe/.gitignore | 2 +- 2011/eastman/.gitignore | 2 +- 2011/fredriksson/.gitignore | 4 +- 2011/goren/.gitignore | 2 +- 2011/hamaji/.gitignore | 2 +- 2011/hou/.gitignore | 2 +- 2011/konno/.gitignore | 2 +- 2011/richards/.gitignore | 2 +- 2011/toledo/.gitignore | 2 +- 2011/vik/.gitignore | 8 +- 2011/zucker/.gitignore | 2 +- 2012/blakely/.gitignore | 6 +- 2012/deckmyn/.gitignore | 6 +- 2012/dlowe/.gitignore | 2 +- 2012/endoh1/.gitignore | 4 +- 2012/endoh2/.gitignore | 4 +- 2012/grothe/.gitignore | 2 +- 2012/hamano/.gitignore | 2 +- 2012/hou/.gitignore | 2 +- 2012/kang/.gitignore | 2 +- 2012/konno/.gitignore | 2 +- 2012/omoikane/.gitignore | 2 +- 2012/tromp/.gitignore | 2 +- 2012/vik/.gitignore | 4 +- 2012/zeitak/.gitignore | 2 +- 2013/.gitignore | 2 +- 2013/birken/.gitignore | 4 +- 2013/cable1/.gitignore | 4 +- 2013/cable2/.gitignore | 4 +- 2013/cable3/.gitignore | 4 +- 2013/dlowe/.gitignore | 4 +- 2013/endoh1/.gitignore | 2 +- 2013/endoh2/.gitignore | 2 +- 2013/endoh3/.gitignore | 4 +- 2013/endoh4/.gitignore | 2 +- 2013/hou/.gitignore | 4 +- 2013/mills/.gitignore | 2 +- 2013/misaka/.gitignore | 2 +- 2013/morgan1/.gitignore | 2 +- 2013/morgan2/.gitignore | 2 +- 2013/robison/.gitignore | 2 +- 2014/.gitignore | 2 +- 2014/birken/.gitignore | 2 +- 2014/deak/.gitignore | 2 +- 2014/endoh1/.gitignore | 4 +- 2014/endoh2/.gitignore | 2 +- 2014/maffiodo1/.gitignore | 2 +- 2014/maffiodo2/.gitignore | 2 +- 2014/morgan/.gitignore | 2 +- 2014/sinon/.gitignore | 2 +- 2014/skeggs/.gitignore | 2 +- 2014/vik/.gitignore | 6 +- 2014/wiedijk/.gitignore | 2 +- 2015/.gitignore | 2 +- 2015/burton/.gitignore | 2 +- 2015/dogon/.gitignore | 2 +- 2015/duble/.gitignore | 2 +- 2015/endoh1/.gitignore | 2 +- 2015/endoh2/.gitignore | 2 +- 2015/endoh3/.gitignore | 2 +- 2015/endoh4/.gitignore | 2 +- 2015/hou/.gitignore | 2 +- 2015/howe/.gitignore | 4 +- 2015/mills1/.gitignore | 2 +- 2015/mills2/.gitignore | 2 +- 2015/muth/.gitignore | 2 +- 2015/schweikhardt/.gitignore | 2 +- 2015/yang/.gitignore | 2 +- 2018/.gitignore | 2 +- 2018/algmyr/.gitignore | 4 +- 2018/anderson/.gitignore | 2 +- 2018/bellard/.gitignore | 2 +- 2018/burton1/.gitignore | 2 +- 2018/burton2/.gitignore | 2 +- 2018/ciura/.gitignore | 2 +- 2018/endoh1/.gitignore | 2 +- 2018/endoh2/.gitignore | 2 +- 2018/ferguson/.gitignore | 2 +- 2018/giles/.gitignore | 2 +- 2018/hou/.gitignore | 2 +- 2018/mills/.gitignore | 4 +- 2018/poikola/.gitignore | 2 +- 2018/vokes/.gitignore | 2 +- 2018/yang/.gitignore | 2 +- 2019/.gitignore | 2 +- 2019/adamovsky/.gitignore | 2 +- 2019/burton/.gitignore | 4 +- 2019/ciura/.gitignore | 2 +- 2019/diels-grabsch1/.gitignore | 2 +- 2019/diels-grabsch2/.gitignore | 2 +- 2019/dogon/.gitignore | 4 +- 2019/duble/.gitignore | 4 +- 2019/endoh/.gitignore | 2 +- 2019/giles/.gitignore | 2 +- 2019/karns/.gitignore | 2 +- 2019/lynn/.gitignore | 2 +- 2019/mills/.gitignore | 4 +- 2019/poikola/.gitignore | 2 +- 2019/yang/.gitignore | 8 +- 2020/.gitignore | 2 +- 2020/burton/.gitignore | 2 +- 2020/carlini/.gitignore | 2 +- 2020/endoh1/.gitignore | 2 +- 2020/endoh2/.gitignore | 2 +- 2020/endoh3/.gitignore | 4 +- 2020/ferguson1/.gitignore | 2 +- 2020/ferguson2/.gitignore | 4 +- 2020/giles/.gitignore | 2 +- 2020/kurdyukov1/.gitignore | 2 +- 2020/kurdyukov2/.gitignore | 4 +- 2020/kurdyukov3/.gitignore | 2 +- 2020/kurdyukov4/.gitignore | 2 +- 2020/otterness/.gitignore | 5 +- 2020/tsoj/.gitignore | 2 +- 2020/yang/.gitignore | 4 +- bin/README.md | 27 +++ bin/sgi | 51 +++++ bin/sort.gitignore | 395 +++++++++++++++++++++++++++++++++ 341 files changed, 919 insertions(+), 447 deletions(-) create mode 100755 bin/sgi create mode 100755 bin/sort.gitignore diff --git a/.gitignore b/.gitignore index e92548047..a8254cffc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: bin/sgi .DS_Store /NOTES /archive/historic/1984 diff --git a/1984/anonymous/.gitignore b/1984/anonymous/.gitignore index 31e0421ed..52d14c82c 100644 --- a/1984/anonymous/.gitignore +++ b/1984/anonymous/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM anonymous anonymous.alt anonymous.orig -*.dSYM indent indent.c indent.o diff --git a/1984/decot/.gitignore b/1984/decot/.gitignore index f00217c42..c51538758 100644 --- a/1984/decot/.gitignore +++ b/1984/decot/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM decot decot.orig diff --git a/1984/laman/.gitignore b/1984/laman/.gitignore index 81f37e38c..872a81619 100644 --- a/1984/laman/.gitignore +++ b/1984/laman/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1984/mullender/.gitignore b/1984/mullender/.gitignore index a179ef9ac..2b7d18683 100644 --- a/1984/mullender/.gitignore +++ b/1984/mullender/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM g.c gentab diff --git a/1985/applin/.gitignore b/1985/applin/.gitignore index 9cf78c5ca..b1f6d03ce 100644 --- a/1985/applin/.gitignore +++ b/1985/applin/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM applin applin.orig -*.dSYM indent indent.c indent.o diff --git a/1985/august/.gitignore b/1985/august/.gitignore index 32746afee..5a776a4b7 100644 --- a/1985/august/.gitignore +++ b/1985/august/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM august august.orig -*.dSYM indent indent.c indent.o diff --git a/1985/lycklama/.gitignore b/1985/lycklama/.gitignore index c83b9e405..3b2405ef7 100644 --- a/1985/lycklama/.gitignore +++ b/1985/lycklama/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1985/shapiro/.gitignore b/1985/shapiro/.gitignore index f278895ba..747d80ff9 100644 --- a/1985/shapiro/.gitignore +++ b/1985/shapiro/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1985/sicherman/.gitignore b/1985/sicherman/.gitignore index 760f5e53b..0907d5ed2 100644 --- a/1985/sicherman/.gitignore +++ b/1985/sicherman/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1986/applin/.gitignore b/1986/applin/.gitignore index 9cf78c5ca..b1f6d03ce 100644 --- a/1986/applin/.gitignore +++ b/1986/applin/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM applin applin.orig -*.dSYM indent indent.c indent.o diff --git a/1986/august/.gitignore b/1986/august/.gitignore index 32746afee..5a776a4b7 100644 --- a/1986/august/.gitignore +++ b/1986/august/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM august august.orig -*.dSYM indent indent.c indent.o diff --git a/1986/bright/.gitignore b/1986/bright/.gitignore index b17d16323..ac1a4bbd5 100644 --- a/1986/bright/.gitignore +++ b/1986/bright/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM bright bright.orig -*.dSYM indent indent.c indent.o diff --git a/1986/hague/.gitignore b/1986/hague/.gitignore index d4d0dcf94..4abe5efc5 100644 --- a/1986/hague/.gitignore +++ b/1986/hague/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM hague hague.alt diff --git a/1986/holloway/.gitignore b/1986/holloway/.gitignore index 75d481aef..6ca3d3437 100644 --- a/1986/holloway/.gitignore +++ b/1986/holloway/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM holloway holloway.orig diff --git a/1986/marshall/.gitignore b/1986/marshall/.gitignore index 6053ecf1c..348dcc3b7 100644 --- a/1986/marshall/.gitignore +++ b/1986/marshall/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1986/pawka/.gitignore b/1986/pawka/.gitignore index 4caccee3b..68bb30648 100644 --- a/1986/pawka/.gitignore +++ b/1986/pawka/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1986/stein/.gitignore b/1986/stein/.gitignore index 10a8e2322..2013e1a84 100644 --- a/1986/stein/.gitignore +++ b/1986/stein/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -a.out +# sort with: ../../bin/sgi *.dSYM +a.out indent indent.c indent.o diff --git a/1986/wall/.gitignore b/1986/wall/.gitignore index 0c9449b2a..a2deb2c58 100644 --- a/1986/wall/.gitignore +++ b/1986/wall/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1987/biggar/.gitignore b/1987/biggar/.gitignore index 31b2b97cd..e033302e0 100644 --- a/1987/biggar/.gitignore +++ b/1987/biggar/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM biggar biggar.orig -*.dSYM indent indent.c indent.o diff --git a/1987/heckbert/.gitignore b/1987/heckbert/.gitignore index 0c9e6f64c..76e89daff 100644 --- a/1987/heckbert/.gitignore +++ b/1987/heckbert/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM bar bar.c -*.dSYM foo foo.c foo.md diff --git a/1987/hines/.gitignore b/1987/hines/.gitignore index 164e28a8c..d96193736 100644 --- a/1987/hines/.gitignore +++ b/1987/hines/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM goto hines diff --git a/1987/korn/.gitignore b/1987/korn/.gitignore index 4e10ac967..610aefd0d 100644 --- a/1987/korn/.gitignore +++ b/1987/korn/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1987/lievaart/.gitignore b/1987/lievaart/.gitignore index c77fcb9f3..14a47d2ae 100644 --- a/1987/lievaart/.gitignore +++ b/1987/lievaart/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1987/wall/.gitignore b/1987/wall/.gitignore index 9cb3a05e2..8a4e0c4e9 100644 --- a/1987/wall/.gitignore +++ b/1987/wall/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1987/westley/.gitignore b/1987/westley/.gitignore index c95388e36..ee62caece 100644 --- a/1987/westley/.gitignore +++ b/1987/westley/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1988/applin/.gitignore b/1988/applin/.gitignore index 200cbf79c..560683e93 100644 --- a/1988/applin/.gitignore +++ b/1988/applin/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM applin applin.alt applin.orig -*.dSYM indent indent.c indent.o diff --git a/1988/dale/.gitignore b/1988/dale/.gitignore index b49e063cb..deb99a15f 100644 --- a/1988/dale/.gitignore +++ b/1988/dale/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dale dale.alt diff --git a/1988/isaak/.gitignore b/1988/isaak/.gitignore index 9b1234944..7975a308a 100644 --- a/1988/isaak/.gitignore +++ b/1988/isaak/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1988/litmaath/.gitignore b/1988/litmaath/.gitignore index e5029428e..aad4f5978 100644 --- a/1988/litmaath/.gitignore +++ b/1988/litmaath/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1988/phillipps/.gitignore b/1988/phillipps/.gitignore index cb09ce42f..1173db788 100644 --- a/1988/phillipps/.gitignore +++ b/1988/phillipps/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1988/reddy/.gitignore b/1988/reddy/.gitignore index 861c1d767..1ecb97a5c 100644 --- a/1988/reddy/.gitignore +++ b/1988/reddy/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1988/robison/.gitignore b/1988/robison/.gitignore index 4fdea5695..9864d9259 100644 --- a/1988/robison/.gitignore +++ b/1988/robison/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1988/spinellis/.gitignore b/1988/spinellis/.gitignore index 6a6607176..5f36aa0df 100644 --- a/1988/spinellis/.gitignore +++ b/1988/spinellis/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1988/westley/.gitignore b/1988/westley/.gitignore index 667dfb2a1..b742d541f 100644 --- a/1988/westley/.gitignore +++ b/1988/westley/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1989/fubar/.gitignore b/1989/fubar/.gitignore index c51d2c07f..32430532f 100644 --- a/1989/fubar/.gitignore +++ b/1989/fubar/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fubar fubar.orig diff --git a/1989/jar.1/.gitignore b/1989/jar.1/.gitignore index b3869337b..4550b156d 100644 --- a/1989/jar.1/.gitignore +++ b/1989/jar.1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1989/jar.2/.gitignore b/1989/jar.2/.gitignore index 1948ed83a..869d4c604 100644 --- a/1989/jar.2/.gitignore +++ b/1989/jar.2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1989/ovdluhe/.gitignore b/1989/ovdluhe/.gitignore index ca644c2bb..a435234de 100644 --- a/1989/ovdluhe/.gitignore +++ b/1989/ovdluhe/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1989/paul/.gitignore b/1989/paul/.gitignore index 8a84f502d..cff3f0adc 100644 --- a/1989/paul/.gitignore +++ b/1989/paul/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1989/robison/.gitignore b/1989/robison/.gitignore index 4fdea5695..9864d9259 100644 --- a/1989/robison/.gitignore +++ b/1989/robison/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1989/roemer/.gitignore b/1989/roemer/.gitignore index b52cea56f..83bda0e5f 100644 --- a/1989/roemer/.gitignore +++ b/1989/roemer/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1989/tromp/.gitignore b/1989/tromp/.gitignore index 684ebc1ff..aac04ec8b 100644 --- a/1989/tromp/.gitignore +++ b/1989/tromp/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -HI +# sort with: ../../bin/sgi *.dSYM +HI indent indent.c indent.o diff --git a/1989/vanb/.gitignore b/1989/vanb/.gitignore index beff33ad9..c96ec8921 100644 --- a/1989/vanb/.gitignore +++ b/1989/vanb/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1989/westley/.gitignore b/1989/westley/.gitignore index cfb8b4041..9070c0dfc 100644 --- a/1989/westley/.gitignore +++ b/1989/westley/.gitignore @@ -1,5 +1,6 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM alt.ver0 alt.ver0.c alt.ver1 @@ -8,7 +9,6 @@ alt.ver2 alt.ver2.c alt.ver3 alt.ver3.c -*.dSYM indent indent.c indent.o diff --git a/1990/.gitignore b/1990/.gitignore index 22823487b..2a93efbae 100644 --- a/1990/.gitignore +++ b/1990/.gitignore @@ -1,2 +1,2 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi diff --git a/1990/baruch/.gitignore b/1990/baruch/.gitignore index 02df7fe70..43e5b5256 100644 --- a/1990/baruch/.gitignore +++ b/1990/baruch/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM baruch baruch.alt baruch.orig -*.dSYM indent indent.c indent.o diff --git a/1990/cmills/.gitignore b/1990/cmills/.gitignore index 5decb4b64..3122029e2 100644 --- a/1990/cmills/.gitignore +++ b/1990/cmills/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cmills cmills.orig -*.dSYM indent indent.c indent.o diff --git a/1990/dds/.gitignore b/1990/dds/.gitignore index 22f29565b..af683d23d 100644 --- a/1990/dds/.gitignore +++ b/1990/dds/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dds dds.orig diff --git a/1990/dg/.gitignore b/1990/dg/.gitignore index ffa360008..6a43a4a7c 100644 --- a/1990/dg/.gitignore +++ b/1990/dg/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dg dg.orig diff --git a/1990/jaw/.gitignore b/1990/jaw/.gitignore index c243609d3..b258195ea 100644 --- a/1990/jaw/.gitignore +++ b/1990/jaw/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -atob +# sort with: ../../bin/sgi *.dSYM +atob indent indent.c indent.o diff --git a/1990/pjr/.gitignore b/1990/pjr/.gitignore index 5259435f5..e94f506c8 100644 --- a/1990/pjr/.gitignore +++ b/1990/pjr/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1990/scjones/.gitignore b/1990/scjones/.gitignore index ded6f9f81..38a9fe50d 100644 --- a/1990/scjones/.gitignore +++ b/1990/scjones/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1990/stig/.gitignore b/1990/stig/.gitignore index 518ce4d44..954484ba4 100644 --- a/1990/stig/.gitignore +++ b/1990/stig/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1990/tbr/.gitignore b/1990/tbr/.gitignore index b23b26373..9afd4d3c9 100644 --- a/1990/tbr/.gitignore +++ b/1990/tbr/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1990/theorem/.gitignore b/1990/theorem/.gitignore index 7cc7e0d56..a335d90e6 100644 --- a/1990/theorem/.gitignore +++ b/1990/theorem/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fibonacci fibonacci.c diff --git a/1990/westley/.gitignore b/1990/westley/.gitignore index c95388e36..ee62caece 100644 --- a/1990/westley/.gitignore +++ b/1990/westley/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1991/ant/.gitignore b/1991/ant/.gitignore index e888c8f21..85541bc01 100644 --- a/1991/ant/.gitignore +++ b/1991/ant/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM ant ant.alt ant.orig -*.dSYM hill indent indent.c diff --git a/1991/brnstnd/.gitignore b/1991/brnstnd/.gitignore index 829c29204..113d025fd 100644 --- a/1991/brnstnd/.gitignore +++ b/1991/brnstnd/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM brnstnd brnstnd.orig -*.dSYM indent indent.c indent.o diff --git a/1991/buzzard/.gitignore b/1991/buzzard/.gitignore index 612917cc6..21e2dc0a2 100644 --- a/1991/buzzard/.gitignore +++ b/1991/buzzard/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM buzzard buzzard.alt buzzard.orig -*.dSYM indent indent.c indent.o diff --git a/1991/cdupont/.gitignore b/1991/cdupont/.gitignore index 9fc79235f..5870b6766 100644 --- a/1991/cdupont/.gitignore +++ b/1991/cdupont/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cdupont cdupont.orig -*.dSYM indent indent.c indent.o diff --git a/1991/davidguy/.gitignore b/1991/davidguy/.gitignore index 0fefbbcdc..8c936c65f 100644 --- a/1991/davidguy/.gitignore +++ b/1991/davidguy/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM davidguy davidguy.orig diff --git a/1991/dds/.gitignore b/1991/dds/.gitignore index 6c0a43f97..84beb7d96 100644 --- a/1991/dds/.gitignore +++ b/1991/dds/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM a.c a.out -*.dSYM dds dds.orig indent diff --git a/1991/fine/.gitignore b/1991/fine/.gitignore index 79ca381e8..edbf8c1c1 100644 --- a/1991/fine/.gitignore +++ b/1991/fine/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fine fine.orig diff --git a/1991/rince/.gitignore b/1991/rince/.gitignore index 03504b307..2fc6fe6c3 100644 --- a/1991/rince/.gitignore +++ b/1991/rince/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1991/westley/.gitignore b/1991/westley/.gitignore index 406da5318..abf04d940 100644 --- a/1991/westley/.gitignore +++ b/1991/westley/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1992/.gitignore b/1992/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/1992/.gitignore +++ b/1992/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/1992/adrian/.gitignore b/1992/adrian/.gitignore index b4e2580d6..a195d7cb1 100644 --- a/1992/adrian/.gitignore +++ b/1992/adrian/.gitignore @@ -1,5 +1,6 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM adbasename adbasename.c adecho @@ -12,9 +13,8 @@ adrian.orig adsleep adsleep.c adwc -adwc.c adwc.adwc.txt -*.dSYM +adwc.c indent indent.c indent.o diff --git a/1992/albert/.gitignore b/1992/albert/.gitignore index 0d3d73c40..a9ca581d2 100644 --- a/1992/albert/.gitignore +++ b/1992/albert/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM albert albert.alt albert.orig -*.dSYM indent indent.c indent.o diff --git a/1992/ant/.gitignore b/1992/ant/.gitignore index 778ebd537..0ff2a3373 100644 --- a/1992/ant/.gitignore +++ b/1992/ant/.gitignore @@ -1,10 +1,10 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM am am.safe ant ant.orig -*.dSYM indent indent.c indent.o diff --git a/1992/buzzard.1/.gitignore b/1992/buzzard.1/.gitignore index 68d15b2b0..2f03de440 100644 --- a/1992/buzzard.1/.gitignore +++ b/1992/buzzard.1/.gitignore @@ -1,10 +1,10 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM babble babble.cppcb buzzard.1 buzzard.1.orig -*.dSYM indent indent.c indent.o diff --git a/1992/buzzard.2/.gitignore b/1992/buzzard.2/.gitignore index 023828d87..90969134e 100644 --- a/1992/buzzard.2/.gitignore +++ b/1992/buzzard.2/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM buzzard.2 buzzard.2.alt buzzard.2.orig -*.dSYM first first.alt indent diff --git a/1992/gson/.gitignore b/1992/gson/.gitignore index 283d55034..7b9e23d2b 100644 --- a/1992/gson/.gitignore +++ b/1992/gson/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -ag +# sort with: ../../bin/sgi *.dSYM +ag gson gson.orig indent diff --git a/1992/imc/.gitignore b/1992/imc/.gitignore index a1cd269d0..b0baa36af 100644 --- a/1992/imc/.gitignore +++ b/1992/imc/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM imc imc.orig diff --git a/1992/kivinen/.gitignore b/1992/kivinen/.gitignore index df7c88c0a..301d96490 100644 --- a/1992/kivinen/.gitignore +++ b/1992/kivinen/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1992/lush/.gitignore b/1992/lush/.gitignore index 0880aa193..e31b3e10b 100644 --- a/1992/lush/.gitignore +++ b/1992/lush/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1992/marangon/.gitignore b/1992/marangon/.gitignore index 2acce7fc4..1aac8928d 100644 --- a/1992/marangon/.gitignore +++ b/1992/marangon/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1992/nathan/.gitignore b/1992/nathan/.gitignore index 4301b7cb0..e11bd0b9f 100644 --- a/1992/nathan/.gitignore +++ b/1992/nathan/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -barfoof.c +# sort with: ../../bin/sgi *.dSYM +barfoof.c foobarf.c indent indent.c diff --git a/1992/vern/.gitignore b/1992/vern/.gitignore index dd8fe92ef..cc426ac36 100644 --- a/1992/vern/.gitignore +++ b/1992/vern/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1992/westley/.gitignore b/1992/westley/.gitignore index 667dfb2a1..b742d541f 100644 --- a/1992/westley/.gitignore +++ b/1992/westley/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1993/.gitignore b/1993/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/1993/.gitignore +++ b/1993/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/1993/ant/.gitignore b/1993/ant/.gitignore index 05c6b23fb..7d487a462 100644 --- a/1993/ant/.gitignore +++ b/1993/ant/.gitignore @@ -1,10 +1,10 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM ag ag.txt ant ant.orig -*.dSYM indent indent.c indent.o diff --git a/1993/cmills/.gitignore b/1993/cmills/.gitignore index e6daacd13..fc3308bbb 100644 --- a/1993/cmills/.gitignore +++ b/1993/cmills/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cmills cmills.alt cmills.orig -*.dSYM indent indent.c indent.o diff --git a/1993/dgibson/.gitignore b/1993/dgibson/.gitignore index b86e50731..1cf6a8f83 100644 --- a/1993/dgibson/.gitignore +++ b/1993/dgibson/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM data.name dgibson diff --git a/1993/ejb/.gitignore b/1993/ejb/.gitignore index 6487b7665..aac8c98dc 100644 --- a/1993/ejb/.gitignore +++ b/1993/ejb/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM ejb ejb.orig diff --git a/1993/jonth/.gitignore b/1993/jonth/.gitignore index 22f69c1f7..a75a94c1a 100644 --- a/1993/jonth/.gitignore +++ b/1993/jonth/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1993/leo/.gitignore b/1993/leo/.gitignore index 7f83ef3e6..469882243 100644 --- a/1993/leo/.gitignore +++ b/1993/leo/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1993/lmfjyh/.gitignore b/1993/lmfjyh/.gitignore index 14e41f172..02a97cd52 100644 --- a/1993/lmfjyh/.gitignore +++ b/1993/lmfjyh/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -"* +# sort with: ../../bin/sgi *.dSYM +"* indent indent.c indent.o diff --git a/1993/plummer/.gitignore b/1993/plummer/.gitignore index 72ad4189e..2e8c26361 100644 --- a/1993/plummer/.gitignore +++ b/1993/plummer/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1993/rince/.gitignore b/1993/rince/.gitignore index 362d34696..6154cd927 100644 --- a/1993/rince/.gitignore +++ b/1993/rince/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1993/schnitzi/.gitignore b/1993/schnitzi/.gitignore index cd8a76fb0..3c9e2433b 100644 --- a/1993/schnitzi/.gitignore +++ b/1993/schnitzi/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1993/vanb/.gitignore b/1993/vanb/.gitignore index dc861f682..4e1d68cb0 100644 --- a/1993/vanb/.gitignore +++ b/1993/vanb/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1994/.gitignore b/1994/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/1994/.gitignore +++ b/1994/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/1994/dodsond1/.gitignore b/1994/dodsond1/.gitignore index 1f4eff58b..200c3967e 100644 --- a/1994/dodsond1/.gitignore +++ b/1994/dodsond1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dodsond1 dodsond1.orig diff --git a/1994/dodsond2/.gitignore b/1994/dodsond2/.gitignore index b43bf7a3e..0f14addca 100644 --- a/1994/dodsond2/.gitignore +++ b/1994/dodsond2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dodsond2 dodsond2.alt diff --git a/1994/horton/.gitignore b/1994/horton/.gitignore index 7bf35f8fd..2f8d2a9e1 100644 --- a/1994/horton/.gitignore +++ b/1994/horton/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM gtface horton diff --git a/1994/imc/.gitignore b/1994/imc/.gitignore index 50174b419..e7252c756 100644 --- a/1994/imc/.gitignore +++ b/1994/imc/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM imc imc.orig diff --git a/1994/ldb/.gitignore b/1994/ldb/.gitignore index 919494b03..40424e049 100644 --- a/1994/ldb/.gitignore +++ b/1994/ldb/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1994/schnitzi/.gitignore b/1994/schnitzi/.gitignore index 07752b42f..7f2bdaa47 100644 --- a/1994/schnitzi/.gitignore +++ b/1994/schnitzi/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1994/shapiro/.gitignore b/1994/shapiro/.gitignore index 7100670cb..3b8b451b2 100644 --- a/1994/shapiro/.gitignore +++ b/1994/shapiro/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1994/smr/.gitignore b/1994/smr/.gitignore index 3495007e3..4735ce197 100644 --- a/1994/smr/.gitignore +++ b/1994/smr/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1994/tvr/.gitignore b/1994/tvr/.gitignore index 3d6367952..f08f09874 100644 --- a/1994/tvr/.gitignore +++ b/1994/tvr/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1994/weisberg/.gitignore b/1994/weisberg/.gitignore index c2fbc3155..24e7e02df 100644 --- a/1994/weisberg/.gitignore +++ b/1994/weisberg/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1994/westley/.gitignore b/1994/westley/.gitignore index 667dfb2a1..b742d541f 100644 --- a/1994/westley/.gitignore +++ b/1994/westley/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1995/.gitignore b/1995/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/1995/.gitignore +++ b/1995/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/1995/cdua/.gitignore b/1995/cdua/.gitignore index de505c93b..d04fa4367 100644 --- a/1995/cdua/.gitignore +++ b/1995/cdua/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cdua cdua.alt cdua.orig -*.dSYM indent indent.c indent.o diff --git a/1995/dodsond1/.gitignore b/1995/dodsond1/.gitignore index 1f4eff58b..200c3967e 100644 --- a/1995/dodsond1/.gitignore +++ b/1995/dodsond1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dodsond1 dodsond1.orig diff --git a/1995/dodsond2/.gitignore b/1995/dodsond2/.gitignore index 4eb2e5d0d..5fc3d12f9 100644 --- a/1995/dodsond2/.gitignore +++ b/1995/dodsond2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dodsond2 dodsond2.orig diff --git a/1995/esde/.gitignore b/1995/esde/.gitignore index d67ca3fe7..ad6334777 100644 --- a/1995/esde/.gitignore +++ b/1995/esde/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM esde esde.orig diff --git a/1995/garry/.gitignore b/1995/garry/.gitignore index 8f76f29de..fced995cd 100644 --- a/1995/garry/.gitignore +++ b/1995/garry/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM garry garry.alt diff --git a/1995/heathbar/.gitignore b/1995/heathbar/.gitignore index 11d1feeca..a53bb3176 100644 --- a/1995/heathbar/.gitignore +++ b/1995/heathbar/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM heathbar heathbar.orig diff --git a/1995/leo/.gitignore b/1995/leo/.gitignore index 3a8578d5c..092bef7c4 100644 --- a/1995/leo/.gitignore +++ b/1995/leo/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1995/makarios/.gitignore b/1995/makarios/.gitignore index 57952f8d0..dc3dd8e33 100644 --- a/1995/makarios/.gitignore +++ b/1995/makarios/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1995/savastio/.gitignore b/1995/savastio/.gitignore index 360cec6d8..09dbc5147 100644 --- a/1995/savastio/.gitignore +++ b/1995/savastio/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM bar.txt foo.txt diff --git a/1995/schnitzi/.gitignore b/1995/schnitzi/.gitignore index cd8a76fb0..3c9e2433b 100644 --- a/1995/schnitzi/.gitignore +++ b/1995/schnitzi/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1995/spinellis/.gitignore b/1995/spinellis/.gitignore index d34d0c1dd..10b860cd3 100644 --- a/1995/spinellis/.gitignore +++ b/1995/spinellis/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1995/vanschnitz/.gitignore b/1995/vanschnitz/.gitignore index eb933d711..203600177 100644 --- a/1995/vanschnitz/.gitignore +++ b/1995/vanschnitz/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1996/.gitignore b/1996/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/1996/.gitignore +++ b/1996/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/1996/august/.gitignore b/1996/august/.gitignore index b74ec1c52..96d0f4f36 100644 --- a/1996/august/.gitignore +++ b/1996/august/.gitignore @@ -1,10 +1,10 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM august august.oc august.oo august.orig -*.dSYM fac.oo indent indent.c diff --git a/1996/dalbec/.gitignore b/1996/dalbec/.gitignore index b8ab10927..25cf47c4c 100644 --- a/1996/dalbec/.gitignore +++ b/1996/dalbec/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dalbec dalbec.orig diff --git a/1996/eldby/.gitignore b/1996/eldby/.gitignore index ffbe0e491..569e9d682 100644 --- a/1996/eldby/.gitignore +++ b/1996/eldby/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM eldby eldby.alt diff --git a/1996/gandalf/.gitignore b/1996/gandalf/.gitignore index a96a7f0d9..739f78685 100644 --- a/1996/gandalf/.gitignore +++ b/1996/gandalf/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -cathat +# sort with: ../../bin/sgi *.dSYM +cathat gandalf gandalf.orig hatcat diff --git a/1996/huffman/.gitignore b/1996/huffman/.gitignore index f91f01184..bd239097b 100644 --- a/1996/huffman/.gitignore +++ b/1996/huffman/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM huffman huffman.orig diff --git a/1996/jonth/.gitignore b/1996/jonth/.gitignore index e64f3c374..dcdb5d1ea 100644 --- a/1996/jonth/.gitignore +++ b/1996/jonth/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1996/rcm/.gitignore b/1996/rcm/.gitignore index a7113ed57..9b82a69fc 100644 --- a/1996/rcm/.gitignore +++ b/1996/rcm/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1996/schweikh1/.gitignore b/1996/schweikh1/.gitignore index 387e5ad5d..186f91776 100644 --- a/1996/schweikh1/.gitignore +++ b/1996/schweikh1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1996/schweikh2/.gitignore b/1996/schweikh2/.gitignore index 0687e527f..c317a0029 100644 --- a/1996/schweikh2/.gitignore +++ b/1996/schweikh2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1996/schweikh3/.gitignore b/1996/schweikh3/.gitignore index 3543743cf..52462c76f 100644 --- a/1996/schweikh3/.gitignore +++ b/1996/schweikh3/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1996/westley/.gitignore b/1996/westley/.gitignore index 667dfb2a1..b742d541f 100644 --- a/1996/westley/.gitignore +++ b/1996/westley/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1998/.gitignore b/1998/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/1998/.gitignore +++ b/1998/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/1998/banks/.gitignore b/1998/banks/.gitignore index fffee7493..60a0c774d 100644 --- a/1998/banks/.gitignore +++ b/1998/banks/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM banks banks.alt banks.orig -*.dSYM indent indent.c indent.o diff --git a/1998/bas1/.gitignore b/1998/bas1/.gitignore index e8fb3cee1..f61f16b8e 100644 --- a/1998/bas1/.gitignore +++ b/1998/bas1/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM bas1 bas1.orig bemazing -*.dSYM indent indent.c indent.o diff --git a/1998/bas2/.gitignore b/1998/bas2/.gitignore index 3dda0d686..f047ca495 100644 --- a/1998/bas2/.gitignore +++ b/1998/bas2/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM bas2 bas2.orig -*.dSYM indent indent.c indent.o diff --git a/1998/chaos/.gitignore b/1998/chaos/.gitignore index 8a3066886..e2fecc3f7 100644 --- a/1998/chaos/.gitignore +++ b/1998/chaos/.gitignore @@ -1,10 +1,10 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM chaos chaos_nohalf chaos_nohalf.c chaos.orig -*.dSYM indent indent.c indent.o diff --git a/1998/df/.gitignore b/1998/df/.gitignore index 08ec0e5f2..adec9c589 100644 --- a/1998/df/.gitignore +++ b/1998/df/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM df df.orig diff --git a/1998/dlowe/.gitignore b/1998/dlowe/.gitignore index 98f903cfc..d266f0c90 100644 --- a/1998/dlowe/.gitignore +++ b/1998/dlowe/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -README.poot.md +# sort with: ../../bin/sgi *.dSYM +README.poot.md dlowe dlowe.alt dlowe.orig diff --git a/1998/dloweneil/.gitignore b/1998/dloweneil/.gitignore index e5ae1b222..e48bd1046 100644 --- a/1998/dloweneil/.gitignore +++ b/1998/dloweneil/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dloweneil dloweneil.alt diff --git a/1998/dorssel/.gitignore b/1998/dorssel/.gitignore index f691c7d63..53abb7f79 100644 --- a/1998/dorssel/.gitignore +++ b/1998/dorssel/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dorssel dorssel.orig diff --git a/1998/fanf/.gitignore b/1998/fanf/.gitignore index 81c3c4405..592f954b7 100644 --- a/1998/fanf/.gitignore +++ b/1998/fanf/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fanf fanf.orig diff --git a/1998/schnitzi/.gitignore b/1998/schnitzi/.gitignore index 5209c500d..438951dd7 100644 --- a/1998/schnitzi/.gitignore +++ b/1998/schnitzi/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM data indent diff --git a/1998/schweikh1/.gitignore b/1998/schweikh1/.gitignore index 4fef010e7..84071c21e 100644 --- a/1998/schweikh1/.gitignore +++ b/1998/schweikh1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1998/schweikh2/.gitignore b/1998/schweikh2/.gitignore index e541e6835..123b25b1c 100644 --- a/1998/schweikh2/.gitignore +++ b/1998/schweikh2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/1998/schweikh3/.gitignore b/1998/schweikh3/.gitignore index 271e76fff..d020f43a9 100644 --- a/1998/schweikh3/.gitignore +++ b/1998/schweikh3/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM file1 file2 diff --git a/1998/tomtorfs/.gitignore b/1998/tomtorfs/.gitignore index ec426bfe5..1c0d3e686 100644 --- a/1998/tomtorfs/.gitignore +++ b/1998/tomtorfs/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2000/.gitignore b/2000/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/2000/.gitignore +++ b/2000/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/2000/anderson/.gitignore b/2000/anderson/.gitignore index 574cdacb9..ce15e9e26 100644 --- a/2000/anderson/.gitignore +++ b/2000/anderson/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM anderson anderson.alt anderson.orig -*.dSYM indent indent.c indent.o diff --git a/2000/bellard/.gitignore b/2000/bellard/.gitignore index f902e995a..ebd3505b7 100644 --- a/2000/bellard/.gitignore +++ b/2000/bellard/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM bellard bellard.orig -*.dSYM indent indent.c indent.o diff --git a/2000/bmeyer/.gitignore b/2000/bmeyer/.gitignore index 22cce140f..a0f369b7d 100644 --- a/2000/bmeyer/.gitignore +++ b/2000/bmeyer/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM bmeyer bmeyer.orig -*.dSYM glicbawls indent indent.c diff --git a/2000/briddlebane/.gitignore b/2000/briddlebane/.gitignore index cd5094523..cd9ef34ec 100644 --- a/2000/briddlebane/.gitignore +++ b/2000/briddlebane/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM briddlebane briddlebane.orig -*.dSYM indent indent.c indent.o diff --git a/2000/dhyang/.gitignore b/2000/dhyang/.gitignore index a7431b8d6..5fe0f5928 100644 --- a/2000/dhyang/.gitignore +++ b/2000/dhyang/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM aku aku.c -*.dSYM dhyang dhyang.orig indent diff --git a/2000/dlowe/.gitignore b/2000/dlowe/.gitignore index 915bce873..6c87237ef 100644 --- a/2000/dlowe/.gitignore +++ b/2000/dlowe/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dlowe dlowe.orig diff --git a/2000/jarijyrki/.gitignore b/2000/jarijyrki/.gitignore index 04262e1a8..43d4231d6 100644 --- a/2000/jarijyrki/.gitignore +++ b/2000/jarijyrki/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2000/natori/.gitignore b/2000/natori/.gitignore index 31aa184cb..b2a138c14 100644 --- a/2000/natori/.gitignore +++ b/2000/natori/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2000/primenum/.gitignore b/2000/primenum/.gitignore index a475c9d80..0e0e73204 100644 --- a/2000/primenum/.gitignore +++ b/2000/primenum/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2000/rince/.gitignore b/2000/rince/.gitignore index fedd2c5a6..e3ad20352 100644 --- a/2000/rince/.gitignore +++ b/2000/rince/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dmy2jd indent diff --git a/2000/robison/.gitignore b/2000/robison/.gitignore index 4fdea5695..9864d9259 100644 --- a/2000/robison/.gitignore +++ b/2000/robison/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2000/schneiderwent/.gitignore b/2000/schneiderwent/.gitignore index 9c7976ca7..7412d2519 100644 --- a/2000/schneiderwent/.gitignore +++ b/2000/schneiderwent/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2000/thadgavin/.gitignore b/2000/thadgavin/.gitignore index abe1bf4ad..a75aa9a51 100644 --- a/2000/thadgavin/.gitignore +++ b/2000/thadgavin/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2000/tomx/.gitignore b/2000/tomx/.gitignore index a3aac5149..231bd3374 100644 --- a/2000/tomx/.gitignore +++ b/2000/tomx/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2001/.gitignore b/2001/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/2001/.gitignore +++ b/2001/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/2001/anonymous/.gitignore b/2001/anonymous/.gitignore index 57dcb8ec4..98c51635d 100644 --- a/2001/anonymous/.gitignore +++ b/2001/anonymous/.gitignore @@ -1,5 +1,6 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM anonymous anonymous.bed anonymous.bed.alt @@ -7,7 +8,6 @@ anonymous.orig anonymous.ten anonymous.ten.32 anonymous.ten.alt -*.dSYM indent indent.c indent.o diff --git a/2001/bellard/.gitignore b/2001/bellard/.gitignore index d488e0c8e..3d99b94bd 100644 --- a/2001/bellard/.gitignore +++ b/2001/bellard/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM bellard bellard.orig bellard.otccex -*.dSYM indent indent.c indent.o diff --git a/2001/cheong/.gitignore b/2001/cheong/.gitignore index 81530637c..832157000 100644 --- a/2001/cheong/.gitignore +++ b/2001/cheong/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cheong cheong.orig -*.dSYM indent indent.c indent.o diff --git a/2001/coupard/.gitignore b/2001/coupard/.gitignore index a0a9f50c6..0fd133cb1 100644 --- a/2001/coupard/.gitignore +++ b/2001/coupard/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM coupard coupard.orig -*.dSYM indent indent.c indent.o diff --git a/2001/ctk/.gitignore b/2001/ctk/.gitignore index 4d7fe01ef..ca41c8f61 100644 --- a/2001/ctk/.gitignore +++ b/2001/ctk/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM ctk ctk.orig -*.dSYM indent indent.c indent.o diff --git a/2001/dgbeards/.gitignore b/2001/dgbeards/.gitignore index d23e575db..24c0adc35 100644 --- a/2001/dgbeards/.gitignore +++ b/2001/dgbeards/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dgbeards dgbeards.alt diff --git a/2001/herrmann1/.gitignore b/2001/herrmann1/.gitignore index 8f801c8e9..b031157bf 100644 --- a/2001/herrmann1/.gitignore +++ b/2001/herrmann1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM error herrmann1 diff --git a/2001/herrmann2/.gitignore b/2001/herrmann2/.gitignore index 95bc4a179..3cc2c87ce 100644 --- a/2001/herrmann2/.gitignore +++ b/2001/herrmann2/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cup.out cup.out2 -*.dSYM herrmann2 herrmann2.orig indent diff --git a/2001/jason/.gitignore b/2001/jason/.gitignore index cd668eff0..cfd807d52 100644 --- a/2001/jason/.gitignore +++ b/2001/jason/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2001/kev/.gitignore b/2001/kev/.gitignore index e14fac835..c7002a394 100644 --- a/2001/kev/.gitignore +++ b/2001/kev/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2001/ollinger/.gitignore b/2001/ollinger/.gitignore index f49b1d880..015657aa6 100644 --- a/2001/ollinger/.gitignore +++ b/2001/ollinger/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2001/rosten/.gitignore b/2001/rosten/.gitignore index 85fe1eaf6..a4a995885 100644 --- a/2001/rosten/.gitignore +++ b/2001/rosten/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2001/schweikh/.gitignore b/2001/schweikh/.gitignore index bacaa45ee..060e40962 100644 --- a/2001/schweikh/.gitignore +++ b/2001/schweikh/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2001/westley/.gitignore b/2001/westley/.gitignore index cd40d775e..29b480f2a 100644 --- a/2001/westley/.gitignore +++ b/2001/westley/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2001/williams/.gitignore b/2001/williams/.gitignore index 407792797..0886245c4 100644 --- a/2001/williams/.gitignore +++ b/2001/williams/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2004/.gitignore b/2004/.gitignore index 0f3654a90..0a49f5aa2 100644 --- a/2004/.gitignore +++ b/2004/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi mkentry mkentty.o diff --git a/2004/anonymous/.gitignore b/2004/anonymous/.gitignore index a09dd3996..728699128 100644 --- a/2004/anonymous/.gitignore +++ b/2004/anonymous/.gitignore @@ -1,14 +1,14 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM anonymous anonymous.orig anonymous.pgm -*.dSYM indent indent.c indent.o -precious.pgm precious.jpg +precious.pgm prog.orig -ring.pgm ring.jpg +ring.pgm diff --git a/2004/arachnid/.gitignore b/2004/arachnid/.gitignore index fda22a710..fb9c33d27 100644 --- a/2004/arachnid/.gitignore +++ b/2004/arachnid/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM arachnid arachnid.alt arachnid.orig -*.dSYM indent indent.c indent.o diff --git a/2004/burley/.gitignore b/2004/burley/.gitignore index b52508413..41bc1e3b5 100644 --- a/2004/burley/.gitignore +++ b/2004/burley/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM burley burley.orig -*.dSYM indent indent.c indent.o diff --git a/2004/gavare/.gitignore b/2004/gavare/.gitignore index 541089995..96ec0703e 100644 --- a/2004/gavare/.gitignore +++ b/2004/gavare/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM gavare gavare.alt diff --git a/2004/gavin/.gitignore b/2004/gavin/.gitignore index 66a9cda9a..cf7827f04 100644 --- a/2004/gavin/.gitignore +++ b/2004/gavin/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fs/ fs.tar diff --git a/2004/hibachi/.gitignore b/2004/hibachi/.gitignore index 37024c686..98c7c9d9f 100644 --- a/2004/hibachi/.gitignore +++ b/2004/hibachi/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -build +# sort with: ../../bin/sgi *.dSYM +build hibachi.orig indent indent.c diff --git a/2004/hoyle/.gitignore b/2004/hoyle/.gitignore index da12b6de1..bd78fd2ee 100644 --- a/2004/hoyle/.gitignore +++ b/2004/hoyle/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM hoyle hoyle1.txt diff --git a/2004/jdalbec/.gitignore b/2004/jdalbec/.gitignore index 27746489d..81934097c 100644 --- a/2004/jdalbec/.gitignore +++ b/2004/jdalbec/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2004/kopczynski/.gitignore b/2004/kopczynski/.gitignore index 306310548..a9c00baf2 100644 --- a/2004/kopczynski/.gitignore +++ b/2004/kopczynski/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2004/newbern/.gitignore b/2004/newbern/.gitignore index c516dd742..0dd209e00 100644 --- a/2004/newbern/.gitignore +++ b/2004/newbern/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2004/omoikane/.gitignore b/2004/omoikane/.gitignore index ec0cbf1a4..7cb6c88ca 100644 --- a/2004/omoikane/.gitignore +++ b/2004/omoikane/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2004/schnitzi/.gitignore b/2004/schnitzi/.gitignore index cd8a76fb0..3c9e2433b 100644 --- a/2004/schnitzi/.gitignore +++ b/2004/schnitzi/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2004/sds/.gitignore b/2004/sds/.gitignore index c9a6612c6..20eb031aa 100644 --- a/2004/sds/.gitignore +++ b/2004/sds/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM encoder encoder.c diff --git a/2004/vik1/.gitignore b/2004/vik1/.gitignore index bac5d95bb..83ab90b99 100644 --- a/2004/vik1/.gitignore +++ b/2004/vik1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2004/vik2/.gitignore b/2004/vik2/.gitignore index cade6acc2..db7262adc 100644 --- a/2004/vik2/.gitignore +++ b/2004/vik2/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -cat-killing-curiosity +# sort with: ../../bin/sgi *.dSYM +cat-killing-curiosity indent indent.c indent.o diff --git a/2005/aidan/.gitignore b/2005/aidan/.gitignore index 8415bc2fb..c7f8ae007 100644 --- a/2005/aidan/.gitignore +++ b/2005/aidan/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM aidan aidan.alt aidan.orig -*.dSYM indent indent.c indent.o diff --git a/2005/anon/.gitignore b/2005/anon/.gitignore index 4d3940e3d..44fe3fc27 100644 --- a/2005/anon/.gitignore +++ b/2005/anon/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM anon anon.alt anon.orig -*.dSYM indent indent.c indent.o diff --git a/2005/boutines/.gitignore b/2005/boutines/.gitignore index ff6b7cffd..ee496e70c 100644 --- a/2005/boutines/.gitignore +++ b/2005/boutines/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM boutines boutines.orig -*.dSYM indent indent.c indent.o diff --git a/2005/chia/.gitignore b/2005/chia/.gitignore index 6ceb008a0..4af437a84 100644 --- a/2005/chia/.gitignore +++ b/2005/chia/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM chia chia.orig -*.dSYM indent indent.c indent.o diff --git a/2005/giljade/.gitignore b/2005/giljade/.gitignore index 4d18f8ed2..559c99cda 100644 --- a/2005/giljade/.gitignore +++ b/2005/giljade/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM c c.c -*.dSYM giljade giljade.orig indent diff --git a/2005/jetro/.gitignore b/2005/jetro/.gitignore index 527f9c169..aa344d073 100644 --- a/2005/jetro/.gitignore +++ b/2005/jetro/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2005/klausler/.gitignore b/2005/klausler/.gitignore index a5427af87..87602c923 100644 --- a/2005/klausler/.gitignore +++ b/2005/klausler/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dict.h indent diff --git a/2005/mikeash/.gitignore b/2005/mikeash/.gitignore index cbb057f80..48dc131ef 100644 --- a/2005/mikeash/.gitignore +++ b/2005/mikeash/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2005/mynx/.gitignore b/2005/mynx/.gitignore index a8a6d8214..9351931f4 100644 --- a/2005/mynx/.gitignore +++ b/2005/mynx/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2005/persano/.gitignore b/2005/persano/.gitignore index 679625f01..e47484bec 100644 --- a/2005/persano/.gitignore +++ b/2005/persano/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM foo.gif indent diff --git a/2005/sykes/.gitignore b/2005/sykes/.gitignore index eb1d8ded2..73beb248f 100644 --- a/2005/sykes/.gitignore +++ b/2005/sykes/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dungeon.prg indent diff --git a/2005/timwi/.gitignore b/2005/timwi/.gitignore index f7c1bdfd4..c250a7904 100644 --- a/2005/timwi/.gitignore +++ b/2005/timwi/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2005/toledo/.gitignore b/2005/toledo/.gitignore index d49a81f93..ab2cfeb7f 100644 --- a/2005/toledo/.gitignore +++ b/2005/toledo/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2005/vik/.gitignore b/2005/vik/.gitignore index ed71fc17a..f0c2b0099 100644 --- a/2005/vik/.gitignore +++ b/2005/vik/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2005/vince/.gitignore b/2005/vince/.gitignore index aa45c9710..03d3a2ca0 100644 --- a/2005/vince/.gitignore +++ b/2005/vince/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2006/birken/.gitignore b/2006/birken/.gitignore index 196c8cd91..94fa11748 100644 --- a/2006/birken/.gitignore +++ b/2006/birken/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM birken birken.orig -*.dSYM indent indent.c indent.o diff --git a/2006/borsanyi/.gitignore b/2006/borsanyi/.gitignore index 5761bd3ec..573831fc4 100644 --- a/2006/borsanyi/.gitignore +++ b/2006/borsanyi/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u -borsanyi -borsanyi.orig +# sort with: ../../bin/sgi *.dSYM *.gif +borsanyi +borsanyi.orig indent indent.c indent.o diff --git a/2006/grothe/.gitignore b/2006/grothe/.gitignore index 703fe23fb..5fa5b161d 100644 --- a/2006/grothe/.gitignore +++ b/2006/grothe/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM grothe grothe.orig diff --git a/2006/hamre/.gitignore b/2006/hamre/.gitignore index c86de6679..35adf57b9 100644 --- a/2006/hamre/.gitignore +++ b/2006/hamre/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM hamre hamre.orig diff --git a/2006/meyer/.gitignore b/2006/meyer/.gitignore index 95e5c53a1..62d01c97b 100644 --- a/2006/meyer/.gitignore +++ b/2006/meyer/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2006/monge/.gitignore b/2006/monge/.gitignore index 83dc98f1e..dba224706 100644 --- a/2006/monge/.gitignore +++ b/2006/monge/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2006/night/.gitignore b/2006/night/.gitignore index 5a86d7da7..f6ac80ae8 100644 --- a/2006/night/.gitignore +++ b/2006/night/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2006/sloane/.gitignore b/2006/sloane/.gitignore index 487df6b8e..2146265ac 100644 --- a/2006/sloane/.gitignore +++ b/2006/sloane/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2006/stewart/.gitignore b/2006/stewart/.gitignore index cff19d76e..9a71a57b3 100644 --- a/2006/stewart/.gitignore +++ b/2006/stewart/.gitignore @@ -1,12 +1,12 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM +*.png +*.xbm indent indent.c indent.o -*.png prog.orig stewart stewart.html stewart.orig -*.xbm diff --git a/2006/sykes1/.gitignore b/2006/sykes1/.gitignore index 622f24c46..aac982505 100644 --- a/2006/sykes1/.gitignore +++ b/2006/sykes1/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -cube.gif +# sort with: ../../bin/sgi *.dSYM +cube.gif indent indent.c indent.o diff --git a/2006/sykes2/.gitignore b/2006/sykes2/.gitignore index 11cca1812..b10191526 100644 --- a/2006/sykes2/.gitignore +++ b/2006/sykes2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2006/toledo1/.gitignore b/2006/toledo1/.gitignore index ef5533e0c..9f7dc686e 100644 --- a/2006/toledo1/.gitignore +++ b/2006/toledo1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2006/toledo2/.gitignore b/2006/toledo2/.gitignore index 1c39eac7d..3ce1029dd 100644 --- a/2006/toledo2/.gitignore +++ b/2006/toledo2/.gitignore @@ -1,5 +1,6 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM ADVENTUR/ BASICS/ C @@ -17,7 +18,6 @@ WS33/ WS33-1/ WS33-2/ WS33-KPR/ -*.dSYM indent indent.c indent.o diff --git a/2006/toledo3/.gitignore b/2006/toledo3/.gitignore index a9af3441b..9647d99d7 100644 --- a/2006/toledo3/.gitignore +++ b/2006/toledo3/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2011/akari/.gitignore b/2011/akari/.gitignore index 02baf6e31..bb0f11c64 100644 --- a/2011/akari/.gitignore +++ b/2011/akari/.gitignore @@ -1,5 +1,6 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM akari akari2 akari2.c @@ -8,7 +9,6 @@ akari3.c akari4 akari4.c akari.orig -*.dSYM even_output.ppm expanded_and_rot13_output.txt expanded_output.txt diff --git a/2011/blakely/.gitignore b/2011/blakely/.gitignore index d647f6c48..d960f8020 100644 --- a/2011/blakely/.gitignore +++ b/2011/blakely/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM blakely blakely.orig -*.dSYM garden.txt indent indent.c diff --git a/2011/borsanyi/.gitignore b/2011/borsanyi/.gitignore index 5fbdff909..7f5fc5e10 100644 --- a/2011/borsanyi/.gitignore +++ b/2011/borsanyi/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM borsanyi borsanyi.orig -*.dSYM indent indent.c indent.o diff --git a/2011/dlowe/.gitignore b/2011/dlowe/.gitignore index 16991bfbd..76c0db5b7 100644 --- a/2011/dlowe/.gitignore +++ b/2011/dlowe/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dlowe dlowe.orig diff --git a/2011/eastman/.gitignore b/2011/eastman/.gitignore index fe836c86e..a98511438 100644 --- a/2011/eastman/.gitignore +++ b/2011/eastman/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM eastman eastman.orig diff --git a/2011/fredriksson/.gitignore b/2011/fredriksson/.gitignore index 6a4c5f542..5819be8dc 100644 --- a/2011/fredriksson/.gitignore +++ b/2011/fredriksson/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM ag ag.c -*.dSYM fredriksson fredriksson.orig fredriksson.txt diff --git a/2011/goren/.gitignore b/2011/goren/.gitignore index b61c54fea..f07bf950c 100644 --- a/2011/goren/.gitignore +++ b/2011/goren/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM goren goren.orig diff --git a/2011/hamaji/.gitignore b/2011/hamaji/.gitignore index 5ea0a345d..7cfea83ea 100644 --- a/2011/hamaji/.gitignore +++ b/2011/hamaji/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dragon dragon2 diff --git a/2011/hou/.gitignore b/2011/hou/.gitignore index 6dd824149..a4e3a081a 100644 --- a/2011/hou/.gitignore +++ b/2011/hou/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM hou hou.orig diff --git a/2011/konno/.gitignore b/2011/konno/.gitignore index 509233b59..3efdfa537 100644 --- a/2011/konno/.gitignore +++ b/2011/konno/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2011/richards/.gitignore b/2011/richards/.gitignore index 210d805de..12e8ce978 100644 --- a/2011/richards/.gitignore +++ b/2011/richards/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2011/toledo/.gitignore b/2011/toledo/.gitignore index 6aad0486d..5f7cd8c28 100644 --- a/2011/toledo/.gitignore +++ b/2011/toledo/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2011/vik/.gitignore b/2011/vik/.gitignore index 51774e443..5e7b7a819 100644 --- a/2011/vik/.gitignore +++ b/2011/vik/.gitignore @@ -1,8 +1,9 @@ -# -# sort with: sort -d -u -audio_file.raw +# +# sort with: ../../bin/sgi *.dSYM +*.wav +audio_file.raw indent indent.c indent.o @@ -10,4 +11,3 @@ prog.orig vik vik.alt vik.orig -*.wav diff --git a/2011/zucker/.gitignore b/2011/zucker/.gitignore index 1f6205a6e..201be31db 100644 --- a/2011/zucker/.gitignore +++ b/2011/zucker/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM hello.ppm image2.ppm diff --git a/2012/blakely/.gitignore b/2012/blakely/.gitignore index ceac26a4c..70f111736 100644 --- a/2012/blakely/.gitignore +++ b/2012/blakely/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u -blakely -blakely.orig +# sort with: ../../bin/sgi *.dSYM *.gif +blakely +blakely.orig indent indent.c indent.o diff --git a/2012/deckmyn/.gitignore b/2012/deckmyn/.gitignore index 9b9af080d..f4d5102ac 100644 --- a/2012/deckmyn/.gitignore +++ b/2012/deckmyn/.gitignore @@ -1,12 +1,12 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM +*.pbm +*.png deckmyn deckmyn.orig example_greensleeves indent indent.c indent.o -*.pbm -*.png prog.orig diff --git a/2012/dlowe/.gitignore b/2012/dlowe/.gitignore index 915bce873..6c87237ef 100644 --- a/2012/dlowe/.gitignore +++ b/2012/dlowe/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dlowe dlowe.orig diff --git a/2012/endoh1/.gitignore b/2012/endoh1/.gitignore index 2bf7c2e2b..8564337d8 100644 --- a/2012/endoh1/.gitignore +++ b/2012/endoh1/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -configuration.txt +# sort with: ../../bin/sgi *.dSYM +configuration.txt endoh1 endoh1.alt endoh1.alt2 diff --git a/2012/endoh2/.gitignore b/2012/endoh2/.gitignore index 43bd00750..b62c7a9a4 100644 --- a/2012/endoh2/.gitignore +++ b/2012/endoh2/.gitignore @@ -1,5 +1,6 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM 271 2718 27182 @@ -36,7 +37,6 @@ 31415.c 3141.c 314.c -*.dSYM e e.c endoh2 diff --git a/2012/grothe/.gitignore b/2012/grothe/.gitignore index c615752d4..5d4b32b37 100644 --- a/2012/grothe/.gitignore +++ b/2012/grothe/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM grothe grothe.c.1 diff --git a/2012/hamano/.gitignore b/2012/hamano/.gitignore index 260210b83..9728f81d5 100644 --- a/2012/hamano/.gitignore +++ b/2012/hamano/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM hamano hamano.orig diff --git a/2012/hou/.gitignore b/2012/hou/.gitignore index 6df56bff2..616a2b11f 100644 --- a/2012/hou/.gitignore +++ b/2012/hou/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM hou hou.html diff --git a/2012/kang/.gitignore b/2012/kang/.gitignore index 41f10dbad..aa55e9026 100644 --- a/2012/kang/.gitignore +++ b/2012/kang/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2012/konno/.gitignore b/2012/konno/.gitignore index 0a8895fa2..80501eefd 100644 --- a/2012/konno/.gitignore +++ b/2012/konno/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2012/omoikane/.gitignore b/2012/omoikane/.gitignore index 0f7085ddd..41c49beb9 100644 --- a/2012/omoikane/.gitignore +++ b/2012/omoikane/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM data data.c diff --git a/2012/tromp/.gitignore b/2012/tromp/.gitignore index f8581d593..c96762e05 100644 --- a/2012/tromp/.gitignore +++ b/2012/tromp/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2012/vik/.gitignore b/2012/vik/.gitignore index 8179c315a..4db36edcf 100644 --- a/2012/vik/.gitignore +++ b/2012/vik/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -chocolate-in-ioccc.png +# sort with: ../../bin/sgi *.dSYM +chocolate-in-ioccc.png encodedimg.png indent indent.c diff --git a/2012/zeitak/.gitignore b/2012/zeitak/.gitignore index 2c2f71ddd..df939635c 100644 --- a/2012/zeitak/.gitignore +++ b/2012/zeitak/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2013/.gitignore b/2013/.gitignore index ee6ed16ce..2ba6addf0 100644 --- a/2013/.gitignore +++ b/2013/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi iocccsize iocccsize.o diff --git a/2013/birken/.gitignore b/2013/birken/.gitignore index 05a3700c8..ebc2b4fb3 100644 --- a/2013/birken/.gitignore +++ b/2013/birken/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM birken birken.alt birken.orig -*.dSYM indent indent.c indent.o diff --git a/2013/cable1/.gitignore b/2013/cable1/.gitignore index cb8a1f04c..fc475e4b8 100644 --- a/2013/cable1/.gitignore +++ b/2013/cable1/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cable1 cable1.orig -*.dSYM indent indent.c indent.o diff --git a/2013/cable2/.gitignore b/2013/cable2/.gitignore index 60161c029..961f394d2 100644 --- a/2013/cable2/.gitignore +++ b/2013/cable2/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cable2 cable2.orig -*.dSYM hello indent indent.c diff --git a/2013/cable3/.gitignore b/2013/cable3/.gitignore index 0ccc9bd4d..06e824267 100644 --- a/2013/cable3/.gitignore +++ b/2013/cable3/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cable3 cable3.orig cable.alt -*.dSYM indent indent.c indent.o diff --git a/2013/dlowe/.gitignore b/2013/dlowe/.gitignore index a5e2a4ab7..31a7581a0 100644 --- a/2013/dlowe/.gitignore +++ b/2013/dlowe/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi 1.txt -2.txt *.dSYM +2.txt dlowe dlowe.orig fun diff --git a/2013/endoh1/.gitignore b/2013/endoh1/.gitignore index b76a8a2de..e840300e5 100644 --- a/2013/endoh1/.gitignore +++ b/2013/endoh1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM echo endoh1 diff --git a/2013/endoh2/.gitignore b/2013/endoh2/.gitignore index 3d3fd040d..b18aeb8aa 100644 --- a/2013/endoh2/.gitignore +++ b/2013/endoh2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM endoh2 endoh2.orig diff --git a/2013/endoh3/.gitignore b/2013/endoh3/.gitignore index a86f8b31b..ed9c1c045 100644 --- a/2013/endoh3/.gitignore +++ b/2013/endoh3/.gitignore @@ -1,10 +1,10 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM +*.wav endoh3 endoh3.orig indent indent.c indent.o prog.orig -*.wav diff --git a/2013/endoh4/.gitignore b/2013/endoh4/.gitignore index 671f9514d..7550f7a93 100644 --- a/2013/endoh4/.gitignore +++ b/2013/endoh4/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM endoh4 endoh4.orig diff --git a/2013/hou/.gitignore b/2013/hou/.gitignore index 4250098f6..d17cc58e7 100644 --- a/2013/hou/.gitignore +++ b/2013/hou/.gitignore @@ -1,9 +1,9 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM 4old_default.ppm a a.c -*.dSYM hou hou.orig hou.tmp diff --git a/2013/mills/.gitignore b/2013/mills/.gitignore index 3e95bc2de..487ce033f 100644 --- a/2013/mills/.gitignore +++ b/2013/mills/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2013/misaka/.gitignore b/2013/misaka/.gitignore index 569dacc2b..ed4a97537 100644 --- a/2013/misaka/.gitignore +++ b/2013/misaka/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM horizontal_cat indent diff --git a/2013/morgan1/.gitignore b/2013/morgan1/.gitignore index 9647e213c..070e96d5c 100644 --- a/2013/morgan1/.gitignore +++ b/2013/morgan1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2013/morgan2/.gitignore b/2013/morgan2/.gitignore index b4b96eeb6..c31a243b8 100644 --- a/2013/morgan2/.gitignore +++ b/2013/morgan2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2013/robison/.gitignore b/2013/robison/.gitignore index 4fdea5695..9864d9259 100644 --- a/2013/robison/.gitignore +++ b/2013/robison/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2014/.gitignore b/2014/.gitignore index ee6ed16ce..2ba6addf0 100644 --- a/2014/.gitignore +++ b/2014/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi iocccsize iocccsize.o diff --git a/2014/birken/.gitignore b/2014/birken/.gitignore index f830336a5..c218b1035 100644 --- a/2014/birken/.gitignore +++ b/2014/birken/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2014/deak/.gitignore b/2014/deak/.gitignore index f830336a5..c218b1035 100644 --- a/2014/deak/.gitignore +++ b/2014/deak/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2014/endoh1/.gitignore b/2014/endoh1/.gitignore index e6e77b8dd..ac7312eb6 100644 --- a/2014/endoh1/.gitignore +++ b/2014/endoh1/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM alpha.txt ast.txt -*.dSYM indent indent.c indent.o diff --git a/2014/endoh2/.gitignore b/2014/endoh2/.gitignore index 3f5765c24..c44bc658f 100644 --- a/2014/endoh2/.gitignore +++ b/2014/endoh2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM hello hello.c diff --git a/2014/maffiodo1/.gitignore b/2014/maffiodo1/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2014/maffiodo1/.gitignore +++ b/2014/maffiodo1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2014/maffiodo2/.gitignore b/2014/maffiodo2/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2014/maffiodo2/.gitignore +++ b/2014/maffiodo2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2014/morgan/.gitignore b/2014/morgan/.gitignore index 3aff160e9..3cea49b13 100644 --- a/2014/morgan/.gitignore +++ b/2014/morgan/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2014/sinon/.gitignore b/2014/sinon/.gitignore index f2081dccf..f8ed416d6 100644 --- a/2014/sinon/.gitignore +++ b/2014/sinon/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2014/skeggs/.gitignore b/2014/skeggs/.gitignore index 14dc1a6e7..e66950e5e 100644 --- a/2014/skeggs/.gitignore +++ b/2014/skeggs/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM err indent diff --git a/2014/vik/.gitignore b/2014/vik/.gitignore index f32fab0f9..6512b7b7c 100644 --- a/2014/vik/.gitignore +++ b/2014/vik/.gitignore @@ -1,11 +1,11 @@ # -# sort with: sort -d -u -audio_file.raw +# sort with: ../../bin/sgi *.dSYM +*.raw +audio_file.raw indent indent.c indent.o prog prog.alt prog.orig -*.raw diff --git a/2014/wiedijk/.gitignore b/2014/wiedijk/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2014/wiedijk/.gitignore +++ b/2014/wiedijk/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/.gitignore b/2015/.gitignore index ee6ed16ce..2ba6addf0 100644 --- a/2015/.gitignore +++ b/2015/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi iocccsize iocccsize.o diff --git a/2015/burton/.gitignore b/2015/burton/.gitignore index 1d4bbc4fe..509c13467 100644 --- a/2015/burton/.gitignore +++ b/2015/burton/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM calc calc.alt diff --git a/2015/dogon/.gitignore b/2015/dogon/.gitignore index f830336a5..c218b1035 100644 --- a/2015/dogon/.gitignore +++ b/2015/dogon/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/duble/.gitignore b/2015/duble/.gitignore index f830336a5..c218b1035 100644 --- a/2015/duble/.gitignore +++ b/2015/duble/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/endoh1/.gitignore b/2015/endoh1/.gitignore index bc086e603..05e656e0c 100644 --- a/2015/endoh1/.gitignore +++ b/2015/endoh1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fitzhugh-nagumo-1 fitzhugh-nagumo-2 diff --git a/2015/endoh2/.gitignore b/2015/endoh2/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2015/endoh2/.gitignore +++ b/2015/endoh2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/endoh3/.gitignore b/2015/endoh3/.gitignore index a37730a7c..6f5b9a8cc 100644 --- a/2015/endoh3/.gitignore +++ b/2015/endoh3/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/endoh4/.gitignore b/2015/endoh4/.gitignore index f830336a5..c218b1035 100644 --- a/2015/endoh4/.gitignore +++ b/2015/endoh4/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/hou/.gitignore b/2015/hou/.gitignore index 2f585c623..4268fa590 100644 --- a/2015/hou/.gitignore +++ b/2015/hou/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/howe/.gitignore b/2015/howe/.gitignore index ece1baa0a..3371d5453 100644 --- a/2015/howe/.gitignore +++ b/2015/howe/.gitignore @@ -1,6 +1,7 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM +*.tmp indent indent.c indent.o @@ -8,5 +9,4 @@ makeholes prog prog.alt prog.orig -*.tmp war-and-peace.txt diff --git a/2015/mills1/.gitignore b/2015/mills1/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2015/mills1/.gitignore +++ b/2015/mills1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/mills2/.gitignore b/2015/mills2/.gitignore index 4ca5115dc..952ef0f6e 100644 --- a/2015/mills2/.gitignore +++ b/2015/mills2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/muth/.gitignore b/2015/muth/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2015/muth/.gitignore +++ b/2015/muth/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/schweikhardt/.gitignore b/2015/schweikhardt/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2015/schweikhardt/.gitignore +++ b/2015/schweikhardt/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2015/yang/.gitignore b/2015/yang/.gitignore index fb50e799d..26d35fce0 100644 --- a/2015/yang/.gitignore +++ b/2015/yang/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/.gitignore b/2018/.gitignore index ee6ed16ce..2ba6addf0 100644 --- a/2018/.gitignore +++ b/2018/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi iocccsize iocccsize.o diff --git a/2018/algmyr/.gitignore b/2018/algmyr/.gitignore index f4ce4bc96..08c852760 100644 --- a/2018/algmyr/.gitignore +++ b/2018/algmyr/.gitignore @@ -1,6 +1,7 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM +*.wav indent indent.c indent.o @@ -9,4 +10,3 @@ prog prog.alt prog.orig spectrogram.png -*.wav diff --git a/2018/anderson/.gitignore b/2018/anderson/.gitignore index f830336a5..c218b1035 100644 --- a/2018/anderson/.gitignore +++ b/2018/anderson/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/bellard/.gitignore b/2018/bellard/.gitignore index aee2c9361..38cd645c3 100644 --- a/2018/bellard/.gitignore +++ b/2018/bellard/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fruits.ppm indent diff --git a/2018/burton1/.gitignore b/2018/burton1/.gitignore index 41faac2ca..1f4311e49 100644 --- a/2018/burton1/.gitignore +++ b/2018/burton1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/burton2/.gitignore b/2018/burton2/.gitignore index be74df98e..61d61d8a0 100644 --- a/2018/burton2/.gitignore +++ b/2018/burton2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fixed_iocccsize indent diff --git a/2018/ciura/.gitignore b/2018/ciura/.gitignore index f830336a5..c218b1035 100644 --- a/2018/ciura/.gitignore +++ b/2018/ciura/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/endoh1/.gitignore b/2018/endoh1/.gitignore index c73638c67..38ee8cf61 100644 --- a/2018/endoh1/.gitignore +++ b/2018/endoh1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM golem.gif indent diff --git a/2018/endoh2/.gitignore b/2018/endoh2/.gitignore index 11433068f..5584a02b4 100644 --- a/2018/endoh2/.gitignore +++ b/2018/endoh2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/ferguson/.gitignore b/2018/ferguson/.gitignore index 5349f7c48..fd28ab7a3 100644 --- a/2018/ferguson/.gitignore +++ b/2018/ferguson/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/giles/.gitignore b/2018/giles/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2018/giles/.gitignore +++ b/2018/giles/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/hou/.gitignore b/2018/hou/.gitignore index 52608ab91..20e8fe960 100644 --- a/2018/hou/.gitignore +++ b/2018/hou/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/mills/.gitignore b/2018/mills/.gitignore index bb3db6f53..480230a8b 100644 --- a/2018/mills/.gitignore +++ b/2018/mills/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM builddisk.bsd builddisk.v6 -*.dSYM empty.fs.bz2 indent indent.c diff --git a/2018/poikola/.gitignore b/2018/poikola/.gitignore index 47fe1a305..56a35b0a5 100644 --- a/2018/poikola/.gitignore +++ b/2018/poikola/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/vokes/.gitignore b/2018/vokes/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2018/vokes/.gitignore +++ b/2018/vokes/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2018/yang/.gitignore b/2018/yang/.gitignore index 036a96ef2..4206a61cf 100644 --- a/2018/yang/.gitignore +++ b/2018/yang/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM generated* indent diff --git a/2019/.gitignore b/2019/.gitignore index ee6ed16ce..2ba6addf0 100644 --- a/2019/.gitignore +++ b/2019/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi iocccsize iocccsize.o diff --git a/2019/adamovsky/.gitignore b/2019/adamovsky/.gitignore index b2b2f72d2..2a8a1f254 100644 --- a/2019/adamovsky/.gitignore +++ b/2019/adamovsky/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM identify.unl indent diff --git a/2019/burton/.gitignore b/2019/burton/.gitignore index 70340f3d8..d9db8a839 100644 --- a/2019/burton/.gitignore +++ b/2019/burton/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -correct +# sort with: ../../bin/sgi *.dSYM +correct indent indent.c indent.o diff --git a/2019/ciura/.gitignore b/2019/ciura/.gitignore index f830336a5..c218b1035 100644 --- a/2019/ciura/.gitignore +++ b/2019/ciura/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2019/diels-grabsch1/.gitignore b/2019/diels-grabsch1/.gitignore index 93eeb058c..64c40800b 100644 --- a/2019/diels-grabsch1/.gitignore +++ b/2019/diels-grabsch1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM dg1.Z guidelines2.txt diff --git a/2019/diels-grabsch2/.gitignore b/2019/diels-grabsch2/.gitignore index b7206d379..076c57b78 100644 --- a/2019/diels-grabsch2/.gitignore +++ b/2019/diels-grabsch2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2019/dogon/.gitignore b/2019/dogon/.gitignore index 5bfaaf963..d1d91c1e7 100644 --- a/2019/dogon/.gitignore +++ b/2019/dogon/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -apholife +# sort with: ../../bin/sgi *.dSYM +apholife indent indent.c indent.o diff --git a/2019/duble/.gitignore b/2019/duble/.gitignore index 1f626df33..b664487b8 100644 --- a/2019/duble/.gitignore +++ b/2019/duble/.gitignore @@ -1,12 +1,12 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM Darwin Darwin.alt FreeBSD FreeBSD.alt Linux Linux.alt -*.dSYM indent indent.c indent.o diff --git a/2019/endoh/.gitignore b/2019/endoh/.gitignore index 31ac2bf7a..ea18509fb 100644 --- a/2019/endoh/.gitignore +++ b/2019/endoh/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM ascii indent diff --git a/2019/giles/.gitignore b/2019/giles/.gitignore index 4888ccd80..82dd08f53 100644 --- a/2019/giles/.gitignore +++ b/2019/giles/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2019/karns/.gitignore b/2019/karns/.gitignore index c96003bbd..7348e022f 100644 --- a/2019/karns/.gitignore +++ b/2019/karns/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2019/lynn/.gitignore b/2019/lynn/.gitignore index 89da4fb6d..bd1898a9c 100644 --- a/2019/lynn/.gitignore +++ b/2019/lynn/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM fib fib.c diff --git a/2019/mills/.gitignore b/2019/mills/.gitignore index aaf68f12b..93f8c8635 100644 --- a/2019/mills/.gitignore +++ b/2019/mills/.gitignore @@ -1,11 +1,11 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM Eugene_Onegin.txt IOCCC-Rules-Guidelines.txt IOCCC-hints.output.txt IOCCC-hints.txt Shakespeare.txt -*.dSYM gru1 gru2 gru3 diff --git a/2019/poikola/.gitignore b/2019/poikola/.gitignore index f999c5335..50b5db8fa 100644 --- a/2019/poikola/.gitignore +++ b/2019/poikola/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2019/yang/.gitignore b/2019/yang/.gitignore index 996d2b318..18e7b87fb 100644 --- a/2019/yang/.gitignore +++ b/2019/yang/.gitignore @@ -1,23 +1,23 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM a b c d -*.dSYM e indent indent.c indent.o input.txt original.txt -output.txt output1.txt output2.txt +output.txt prog prog.orig -scrambled.txt scrambled1.txt scrambled2.txt scrambled3.txt +scrambled.txt unscrambled.txt diff --git a/2020/.gitignore b/2020/.gitignore index ee6ed16ce..2ba6addf0 100644 --- a/2020/.gitignore +++ b/2020/.gitignore @@ -1,4 +1,4 @@ # -# sort with: sort -d -u +# sort with: ../bin/sgi iocccsize iocccsize.o diff --git a/2020/burton/.gitignore b/2020/burton/.gitignore index 3526e8a70..4718ce806 100644 --- a/2020/burton/.gitignore +++ b/2020/burton/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/carlini/.gitignore b/2020/carlini/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2020/carlini/.gitignore +++ b/2020/carlini/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/endoh1/.gitignore b/2020/endoh1/.gitignore index f830336a5..c218b1035 100644 --- a/2020/endoh1/.gitignore +++ b/2020/endoh1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/endoh2/.gitignore b/2020/endoh2/.gitignore index eb19e2f8d..d3e6eea5d 100644 --- a/2020/endoh2/.gitignore +++ b/2020/endoh2/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/endoh3/.gitignore b/2020/endoh3/.gitignore index 1914fcb60..76c2fc643 100644 --- a/2020/endoh3/.gitignore +++ b/2020/endoh3/.gitignore @@ -1,10 +1,10 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM clock clock.alt clock.alt.c clock.c -*.dSYM indent indent.c indent.o diff --git a/2020/ferguson1/.gitignore b/2020/ferguson1/.gitignore index a23b79310..adac0c4e7 100644 --- a/2020/ferguson1/.gitignore +++ b/2020/ferguson1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/ferguson2/.gitignore b/2020/ferguson2/.gitignore index 0cd3a4c31..c51360e9d 100644 --- a/2020/ferguson2/.gitignore +++ b/2020/ferguson2/.gitignore @@ -1,10 +1,10 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi +*.dSYM cake.sh chocolate-cake.dat chocolate-cake.key config -*.dSYM indent indent.c indent.o diff --git a/2020/giles/.gitignore b/2020/giles/.gitignore index 0e1113d6b..ff769e925 100644 --- a/2020/giles/.gitignore +++ b/2020/giles/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/kurdyukov1/.gitignore b/2020/kurdyukov1/.gitignore index f830336a5..c218b1035 100644 --- a/2020/kurdyukov1/.gitignore +++ b/2020/kurdyukov1/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/kurdyukov2/.gitignore b/2020/kurdyukov2/.gitignore index 949edd684..b99263068 100644 --- a/2020/kurdyukov2/.gitignore +++ b/2020/kurdyukov2/.gitignore @@ -1,8 +1,8 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM -*.jpg *.gif +*.jpg *.ppm indent indent.c diff --git a/2020/kurdyukov3/.gitignore b/2020/kurdyukov3/.gitignore index c2570721c..67137754a 100644 --- a/2020/kurdyukov3/.gitignore +++ b/2020/kurdyukov3/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/kurdyukov4/.gitignore b/2020/kurdyukov4/.gitignore index a451e1264..f9ecf0af3 100644 --- a/2020/kurdyukov4/.gitignore +++ b/2020/kurdyukov4/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/otterness/.gitignore b/2020/otterness/.gitignore index a23003a92..0739d17d5 100644 --- a/2020/otterness/.gitignore +++ b/2020/otterness/.gitignore @@ -1,12 +1,11 @@ # -# Don't sort because of the exclusion of *.mid with the exception -# of the cvikl.mid and the entertainer.mid. +# sort with: ../../bin/sgi *.dSYM +*.mid indent indent.c indent.o prog prog.orig -*.mid !cvikl.mid !entertainer.mid diff --git a/2020/tsoj/.gitignore b/2020/tsoj/.gitignore index f830336a5..c218b1035 100644 --- a/2020/tsoj/.gitignore +++ b/2020/tsoj/.gitignore @@ -1,5 +1,5 @@ # -# sort with: sort -d -u +# sort with: ../../bin/sgi *.dSYM indent indent.c diff --git a/2020/yang/.gitignore b/2020/yang/.gitignore index eeeee9007..8f657ddaf 100644 --- a/2020/yang/.gitignore +++ b/2020/yang/.gitignore @@ -1,7 +1,7 @@ # -# sort with: sort -d -u -cppp +# sort with: ../../bin/sgi *.dSYM +cppp indent indent.c indent.o diff --git a/bin/README.md b/bin/README.md index b3582e593..efdc380b1 100644 --- a/bin/README.md +++ b/bin/README.md @@ -91,6 +91,33 @@ bin/all-run.sh -v 3 bin/readme2index.sh -v 1 Convert README.md into index.html. +### [sgi](sgi) + +Sort .gitignore content from stdin to stdout. + +We sort with lines starting with # first. +We sort with lines starting with * second. +We sort with lines that do not start with [#!*] third. +We sort with lines starting with ! fourth. + + +### [sort.gitignore](sort.gitignore) + +Sort a .gitignore in a winner directory. + +Usage: + +```sh +bin/sort.gitignore -v 1 YYYY/dir +``` + +Suggested usage: + +```sh +bin/all-run.sh bin/sort.gitignore -v 1 +``` + + ### [subst.default.sh](subst.default.sh) Print default substitutions. diff --git a/bin/sgi b/bin/sgi new file mode 100755 index 000000000..7753cf298 --- /dev/null +++ b/bin/sgi @@ -0,0 +1,51 @@ +#!/usr/bin/env bash +# +# sgi - sort .gitignore content from stdin to stdout +# +# We sort with lines starting with # first. +# We sort with lines starting with * second. +# We sort with lines that do not start with [#!*] third. +# We sort with lines starting with ! fourth. +# +# Example usage in vim with a keyboard macro f: +# +# :map ^[f 1G!G../../bin/sgi^M +# +# or via .vimrc: +# +# " sort the entire .gitignore file using ../../bin/sgi +# :map ^[f 1G!G../../bin/sgi^M +# +# NOTE: The ^[ above is ((Escape)) and ^M is ((Control-M)). +# +# Example usage in shell: +# +# rm -f t && ../../bin/sgi < .gitignore > t && mv -f t .gitignore +# +# Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. +# +# Permission to use, copy, modify, and distribute this software and +# its documentation for any purpose and without fee is hereby granted, +# provided that the above copyright, this permission notice and text +# this comment, and the disclaimer below appear in all of the following: +# +# supporting documentation +# source copies +# source works derived from this source +# binaries derived from this source or from derived source +# +# LANDON CURT NOLL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO +# EVENT SHALL LANDON CURT NOLL BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. +# +# chongo (Landon Curt Noll, http://www.isthe.com/chongo/index.html) /\oo/\ +# +# Share and enjoy! :-) + +sed -e '/^#/s/.*/0 &/' -e '/^*/s/.*/1 &/' -e '/^[^01*!]/s/.*/2 &/' -e '/^!/s/.*/3 &/' | + sort -k 1n -k 2d | + sed 's/[0123] //' diff --git a/bin/sort.gitignore b/bin/sort.gitignore new file mode 100755 index 000000000..53ecf58d0 --- /dev/null +++ b/bin/sort.gitignore @@ -0,0 +1,395 @@ +#!/usr/bin/env bash +# +# sort.gitignore - sort .gitignore file +# +# Usage: +# +# sort.gitignore YYYY/dir +# +# Recommended usage: +# +# bin/bin/all-run.sh bin/sort.gitignore +# +# We use bin/sgi to sort the content of a .gitignore file as follows: +# +# We sort with lines starting with # first. +# We sort with lines starting with * second. +# We sort with lines that do not start with [#!*] third. +# We sort with lines starting with ! fourth. +# +# Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. +# +# Permission to use, copy, modify, and distribute this software and +# its documentation for any purpose and without fee is hereby granted, +# provided that the above copyright, this permission notice and text +# this comment, and the disclaimer below appear in all of the following: +# +# supporting documentation +# source copies +# source works derived from this source +# binaries derived from this source or from derived source +# +# LANDON CURT NOLL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO +# EVENT SHALL LANDON CURT NOLL BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. +# +# chongo (Landon Curt Noll, http://www.isthe.com/chongo/index.html) /\oo/\ +# +# Share and enjoy! :-) + +# firewall - must be bash with a version 4.2 or later +# +# We must declare arrays with -ag or -Ag +# +if [[ -z ${BASH_VERSINFO[0]} || ${BASH_VERSINFO[0]} -lt 4 || ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 2 ]]; then + echo "$0: ERROR: bash version must be >= 4.2: $BASH_VERSION" 1>&2 + exit 4 +fi + +# setup bash file matching +# +# Requires bash with a version 4.2 or later +# +shopt -s nullglob # enable expanded to nothing rather than remaining unexpanded +shopt -u failglob # disable error message if no matches are found +shopt -u dotglob # disable matching files starting with . +shopt -s globskipdots # enable never matching . nor .. +shopt -u nocaseglob # disable strict case matching +shopt -u extglob # enable extended globbing patterns +shopt -s globstar # enable ** to match all files and zero or more directories and subdirectories + +# set variables referenced in the usage message +# +export VERSION="1.0 2024-02-01" +NAME=$(basename "$0") +export NAME +export V_FLAG=0 +GIT_TOOL=$(type -P git) +export GIT_TOOL +if [[ -z "$GIT_TOOL" ]]; then + echo "$0: FATAL: git tool is not installed or not in PATH" 1>&2 + exit 200 +fi +"$GIT_TOOL" rev-parse --is-inside-work-tree >/dev/null 2>&1 +status="$?" +if [[ $status -eq 0 ]]; then + TOPDIR=$("$GIT_TOOL" rev-parse --show-toplevel) +fi +export REPO_URL="https://github.com/ioccc-src/temp-test-ioccc" +export TOP_URL="https://ioccc-src.github.io/temp-test-ioccc" +export SGI="bin/sgi" + +# set usage message +# +export USAGE="usage: $0 [-h] [-v level] [-V] [-d topdir] [-n] [-N] + yyyy/dir + + -h print help message and exit + -v level set verbosity level (def level: 0) + -V print version string and exit + + -d topdir set topdir (def: $TOPDIR) + + -n go thru the actions, but do not update any files (def: do the action) + -N do not process file, just parse arguments and ignore the file (def: process the file) + + yyyy/dir path from topdir to winner directory: must contain the files: README.md, .path and .winner.json + +Exit codes: + 0 all OK + 1 sgi exited non-zero + 2 -h and help string printed or -V and version string printed + 3 command line error + 4 bash version is < 4.2 + 5 yyyy/dir is not a winner directory + 6 sgi tool not found or not executable + >= 10 internal error + +$NAME version: $VERSION" + +# setup +# +export NOOP= +export DO_NOT_PROCESS= + +# parse command line +# +while getopts :hv:Vd:nN flag; do + case "$flag" in + h) echo "$USAGE" 1>&2 + exit 2 + ;; + v) V_FLAG="$OPTARG" + ;; + V) echo "$VERSION" + exit 2 + ;; + d) TOPDIR="$OPTARG" + ;; + n) NOOP="-n" + ;; + N) DO_NOT_PROCESS="-N" + ;; + \?) echo "$0: ERROR: invalid option: -$OPTARG" 1>&2 + echo 1>&2 + print_usage 1>&2 + exit 3 + ;; + :) echo "$0: ERROR: option -$OPTARG requires an argument" 1>&2 + echo 1>&2 + echo "$USAGE" 1>&2 + exit 3 + ;; + *) echo "$0: ERROR: unexpected value from getopts: $flag" 1>&2 + echo 1>&2 + echo "$USAGE" 1>&2 + exit 3 + ;; + esac +done + +# parse the command line arguments +# +if [[ $V_FLAG -ge 1 ]]; then + echo "$0: debug[1]: debug level: $V_FLAG" 1>&2 +fi +# +shift $(( OPTIND - 1 )); +# +if [[ $V_FLAG -ge 5 ]]; then + echo "$0: debug[5]: file argument count: $#" 1>&2 +fi +if [[ $# -ne 1 ]]; then + echo "$0: ERROR: expected 1 arg, found: $#" 1>&2 + exit 3 +fi +# +export WINNER_PATH="$1" +if [[ $V_FLAG -ge 1 ]]; then + echo "$0: debug[1]: WINNER_PATH=$WINNER_PATH" 1>&2 +fi + +# verify that we have a topdir directory +# +REPO_NAME=$(basename "$REPO_URL") +export REPO_NAME +if [[ -z $TOPDIR ]]; then + echo "$0: ERROR: cannot find top of git repo directory" 1>&2 + echo "$0: Notice: if needed: $GIT_TOOL clone $REPO_URL; cd $REPO_NAME" 1>&2 + exit 201 +fi +if [[ ! -d $TOPDIR ]]; then + echo "$0: ERROR: TOPDIR is not a directory: $TOPDIR" 1>&2 + echo "$0: Notice: if needed: $GIT_TOOL clone $REPO_URL; cd $REPO_NAME" 1>&2 + exit 202 +fi + +# verify that we have an bin subdirectory +# +export BIN_PATH="$TOPDIR/bin" +if [[ ! -d $BIN_PATH ]]; then + echo "$0: ERROR: bin is not a directory under topdir: $BIN_PATH" 1>&2 + exit 205 +fi +export BIN_DIR="bin" + +# cd to topdir +# +if [[ ! -e $TOPDIR ]]; then + echo "$0: ERROR: cannot cd to non-existent path: $TOPDIR" 1>&2 + exit 206 +fi +if [[ ! -d $TOPDIR ]]; then + echo "$0: ERROR: cannot cd to a non-directory: $TOPDIR" 1>&2 + exit 207 +fi +export CD_FAILED +if [[ $V_FLAG -ge 5 ]]; then + echo "$0: debug[5]: about to: cd $TOPDIR" 1>&2 +fi +cd "$TOPDIR" || CD_FAILED="true" +if [[ -n $CD_FAILED ]]; then + echo "$0: ERROR: cd $TOPDIR failed" 1>&2 + exit 208 +fi +if [[ $V_FLAG -ge 3 ]]; then + echo "$0: debug[3]: now in directory: $(/bin/pwd)" 1>&2 +fi + +# verify we have an executable sgi tool +# +if [[ ! -e $SGI ]]; then + echo "$0: ERROR: sgi tool does not exist: $SGI" 1>&2 + exit 6 +fi +if [[ ! -f $SGI ]]; then + echo "$0: ERROR: sgi tool is not a file: $SGI" 1>&2 + exit 6 +fi +if [[ ! -x $SGI ]]; then + echo "$0: ERROR: sgi tool is not an executable file: $SGI" 1>&2 + exit 6 +fi + +# verify that WINNER_PATH is a winner directory +# +# WINNER_PATH must be in yyyy/dir form +# yyyy must be a directory +# yyyy must be a writable directory +# yyyy/.year must be a non-empty file +# yyyy/dir must be a directory +# yyyy/dir/.path must be a non-empty file +# WINNER_PATH must match the contents of yyyy/dir/.path +# yyyy/dir/.gitignore.json must be a writable file +# +if [[ ! -d $WINNER_PATH ]]; then + echo "$0: ERROR: arg is not a directory: $WINNER_PATH" 1>&2 + exit 5 +fi +if [[ ! -w $WINNER_PATH ]]; then + echo "$0: ERROR: arg is not a writable directory: $WINNER_PATH" 1>&2 + exit 5 +fi +export YEAR_DIR=${WINNER_PATH%%/*} +if [[ -z $YEAR_DIR ]]; then + echo "$0: ERROR: arg not in yyyy/dir form: $WINNER_PATH" 1>&2 + exit 5 +fi +export WINNER_DIR=${WINNER_PATH#*/} +if [[ -z $WINNER_DIR ]]; then + echo "$0: ERROR: arg: $WINNER_PATH not in $YEAR_DIR/dir form: $WINNER_PATH" 1>&2 + exit 5 +fi +if [[ $WINNER_DIR = */* ]]; then + echo "$0: ERROR: dir from arg: $WINNER_PATH contains a /: $WINNER_DIR" 1>&2 + exit 5 +fi +if [[ ! -d $YEAR_DIR ]]; then + echo "$0: ERROR: yyyy from arg: $WINNER_PATH is not a directory: $YEAR_DIR" 1>&2 + exit 5 +fi +export WINNER_ID="${YEAR_DIR}_${WINNER_DIR}" +export DOT_YEAR="$YEAR_DIR/.year" +if [[ ! -s $DOT_YEAR ]]; then + echo "$0: ERROR: not a non-empty file: $DOT_YEAR" 1>&2 + exit 5 +fi +if [[ ! -d $YEAR_DIR/$WINNER_DIR ]]; then + echo "$0: ERROR: yyyy/dir from arg: $WINNER_PATH is not a directory: $YEAR_DIR/$WINNER_DIR" 1>&2 + exit 5 +fi +export DOT_PATH="$YEAR_DIR/$WINNER_DIR/.path" +if [[ ! -s $DOT_PATH ]]; then + echo "$0: ERROR: not a non-empty file: $DOT_PATH" 1>&2 + exit 5 +fi +DOT_PATH_CONTENT=$(< "$DOT_PATH") +if [[ $WINNER_PATH != "$DOT_PATH_CONTENT" ]]; then + echo "$0: ERROR: arg: $WINNER_PATH does not match $DOT_PATH contents: $DOT_PATH_CONTENT" 1>&2 + exit 5 +fi +export GITIGNORE="$YEAR_DIR/$WINNER_DIR/.gitignore" +if [[ ! -e $GITIGNORE ]]; then + echo "$0: ERROR: .winner.json does not exist: $GITIGNORE" 1>&2 + exit 5 +fi +if [[ ! -f $GITIGNORE ]]; then + echo "$0: ERROR: .winner.json is not a file: $GITIGNORE" 1>&2 + exit 5 +fi +if [[ ! -w $GITIGNORE ]]; then + echo "$0: ERROR: .winner.json is not a writable file: $GITIGNORE" 1>&2 + exit 5 +fi + +# parameter debugging +# +if [[ $V_FLAG -ge 3 ]]; then + echo "$0: debug[3]: NAME=$NAME" 1>&2 + echo "$0: debug[3]: YEAR_DIR=$YEAR_DIR" 1>&2 + echo "$0: debug[3]: REPO_URL=$REPO_URL" 1>&2 + echo "$0: debug[3]: TOP_URL=$TOP_URL" 1>&2 + echo "$0: debug[3]: SGI=$SGI" 1>&2 + echo "$0: debug[3]: DO_NOT_PROCESS=$DO_NOT_PROCESS" 1>&2 + echo "$0: debug[3]: NOOP=$NOOP" 1>&2 + echo "$0: debug[3]: WINNER_PATH=$WINNER_PATH" 1>&2 + echo "$0: debug[3]: REPO_NAME=$REPO_NAME" 1>&2 + echo "$0: debug[3]: BIN_PATH=$BIN_PATH" 1>&2 + echo "$0: debug[3]: BIN_DIR=$BIN_DIR" 1>&2 + echo "$0: debug[3]: YEAR_DIR=$YEAR_DIR" 1>&2 + echo "$0: debug[3]: WINNER_DIR=$WINNER_DIR" 1>&2 + echo "$0: debug[3]: WINNER_ID=$WINNER_ID" 1>&2 + echo "$0: debug[3]: DOT_YEAR=$DOT_YEAR" 1>&2 + echo "$0: debug[3]: DOT_PATH=$DOT_PATH" 1>&2 + echo "$0: debug[3]: GITIGNORE=$GITIGNORE" 1>&2 +fi + +# If -N, time to exit +# +if [[ -n $DO_NOT_PROCESS ]]; then + if [[ $V_FLAG -ge 1 ]]; then + echo "$0: debug[1]: arguments parsed, -N given, exit 0" 1>&2 + fi + exit 0 +fi + +# create a temporary markdown for pandoc to process +# +TMP_FILE="$WINNER_PATH/.$NAME.$$.sgi" +if [[ $V_FLAG -ge 3 ]]; then + echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2 +fi +if [[ -z $NOOP ]]; then + trap 'rm -f $TMP_FILE; exit' 0 1 2 3 15 + rm -f "$TMP_FILE" + if [[ -e $TMP_FILE ]]; then + echo "$0: ERROR: cannot remove temporary markdown file: $TMP_FILE" 1>&2 + exit 216 + fi + :> "$TMP_FILE" + if [[ ! -e $TMP_FILE ]]; then + echo "$0: ERROR: cannot create temporary markdown file: $TMP_FILE" 1>&2 + exit 217 + fi +elif [[ $V_FLAG -ge 3 ]]; then + echo "$0: debug[3]: because of -n, temporary markdown file is not used: $TMP_FILE" 1>&2 +fi + +# convert temporary markdown file into HTML +# +if [[ -z $NOOP ]]; then + if [[ $V_FLAG -ge 1 ]]; then + echo "$0: debug[1]: about to execute: $SGI < $GITIGNORE > $TMP_FILE" 1>&2 + fi + "$SGI" < "$GITIGNORE" > "$TMP_FILE" + status="$?" + if [[ $status -ne 0 ]]; then + echo "$0: ERROR: sgi failed, error: $status" 1>&2 + exit 220 + fi + if [[ $V_FLAG -ge 1 ]]; then + echo "$0: debug[1]: about to execute: mv -f $TMP_FILE $GITIGNORE" 1>&2 + fi + mv -f "$TMP_FILE" "$GITIGNORE" + status="$?" + if [[ $status -ne 0 ]]; then + echo "$0: ERROR: sgi failed, error: $status" 1>&2 + exit 220 + fi +elif [[ $V_FLAG -ge 1 ]]; then + echo "$0: debug[1]: -n disabled execution of: $SGI < $GITIGNORE > $TMP_FILE" 1>&2 + echo "$0: debug[1]: -n disabled execution of: mv -f $TMP_FILE $GITIGNORE" 1>&2 +fi + +# All Done!!! -- Jessica Noll, Age 2 +# +if [[ -z $NOOP ]]; then + rm -f "$TMP_FILE" +elif [[ $V_FLAG -ge 1 ]]; then + echo "$0: debug[1]: -n disabled execution of: rm -f $TMP_FILE" 1>&2 +fi +exit 0