-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@371 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
9658702
commit 68119b2
Showing
18 changed files
with
530 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/sh | ||
|
||
# Get our hands on basedir | ||
LOCAL1=${PWD} | ||
cd `dirname $0` | ||
cd ../.. | ||
SLPS=${PWD} | ||
cd ${LOCAL1} | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "This tool provides a token overview" | ||
echo "Usage: tokenover <topic>" | ||
exit 1 | ||
else | ||
/bin/echo "\begin{tabular}{l|c|c|c|}" | ||
/bin/echo "Token&\textit{italic}&\texttt{fixed}&default\\\\\hline" | ||
/bin/echo -n "\\tokenAlNum&N (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "ITA ALNUM" | ||
/bin/echo -n ") &T (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "FIX ALNUM" | ||
/bin/echo -n ")&T? (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "DEF ALNUM" | ||
/bin/echo ")\\\\" | ||
/bin/echo -n "\\tokenBar&M (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "ITA BNBAR" | ||
/bin/echo -n ") &T (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "FIX BNBAR" | ||
/bin/echo -n ")&M? (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "DEF BNBAR" | ||
/bin/echo ")\\\\" | ||
/bin/echo -n "\\tokenMeta&M (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "ITA METAS" | ||
/bin/echo -n ") &T (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "FIX METAS" | ||
/bin/echo -n ")&T? (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "DEF METAS" | ||
/bin/echo ")\\\\" | ||
/bin/echo -n "\\tokenOther&T (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "ITA WEIRD" | ||
/bin/echo -n ") &T (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "FIX WEIRD" | ||
/bin/echo -n ")&T (" | ||
cd ${SLPS}/topics/$1 ; make debug | grep -c "DEF WEIRD" | ||
/bin/echo ")\\\\" | ||
/bin/echo "\hline\end{tabular}" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.