From 21b9ec63acad8770698597a551e3d47f02675531 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Mon, 9 Dec 2024 17:56:22 -0800 Subject: [PATCH] Everything is a mess... --- utilities/summaries/make-summaries.sh | 11 ++++++----- utilities/summaries/vocab.sh | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/utilities/summaries/make-summaries.sh b/utilities/summaries/make-summaries.sh index 2a4e9f4bec..8b748adf14 100755 --- a/utilities/summaries/make-summaries.sh +++ b/utilities/summaries/make-summaries.sh @@ -1,11 +1,12 @@ #! /bin/csh -cd .. -rm -f summaries/index-presort +set CURRENT='utilities/summaries/' +cd cur/programming/ +rm -f $CURRENT/index-presort foreach Z (vocab exam assessment-data) -summaries/vocab.sh $Z +$CURRENT/vocab.sh $Z echo $Z end -sort -f summaries/index-presort | uniq -i > summaries/index-sorted +sort -f $CURRENT/index-presort | uniq -i > $CURRENT/index-sorted echo sort -summaries/index +$CURRENT/index -c echo index diff --git a/utilities/summaries/vocab.sh b/utilities/summaries/vocab.sh index 5384dde37e..6ea17d9d8c 100755 --- a/utilities/summaries/vocab.sh +++ b/utilities/summaries/vocab.sh @@ -1,8 +1,9 @@ #! /bin/csh +set CURRENT='utilities/summaries/' foreach X (1 2 3 4 5 6 7 8) -set Y=`grep bjc/$X summaries/topics` -# summaries/vocab $1 "$Y" -c ${X}*/[0-9]*/[0-9]* -# summaries/vocab $1 "$Y" -p ${X}*/[0-9]*/[0-9]* -summaries/vocab $1 "$Y" ${X}*/[0-9]*/[0-9]* -echo $X + set Y=`grep bjc/$X $CURRENT/topics` + # $CURRENT/vocab $1 "$Y" -c ${X}*/[0-9]*/[0-9]* + # $CURRENT/vocab $1 "$Y" -p ${X}*/[0-9]*/[0-9]* + $CURRENT/vocab $1 "$Y" ${X}*/[0-9]*/[0-9]* + echo $X end