Skip to content

Commit

Permalink
Everything is a mess...
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Dec 10, 2024
1 parent 507f0a4 commit 21b9ec6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions utilities/summaries/make-summaries.sh
Original file line number Diff line number Diff line change
@@ -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
11 changes: 6 additions & 5 deletions utilities/summaries/vocab.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 21b9ec6

Please sign in to comment.