Slight changes to G

This commit is contained in:
Case Duckworth 2021-02-04 23:28:15 -06:00
parent df0677b072
commit e9f7d5acef
1 changed files with 5 additions and 3 deletions

8
G
View File

@ -6,7 +6,7 @@
# symbols (?)
PHI="<span class=phi>&#x2C77;</span>"
T()(sed q "$1"|tr -d \\n)
T()(sed q "$1")
# functions
Nav() { # Nav <INDEX> <files...>
@ -21,7 +21,7 @@ Nav() { # Nav <INDEX> <files...>
if [ "$post" != "$idx" ]; then
echo "<a href=\"$ROOT/${post#*/}\""
[ "$post" = "$F" ] && echo "class=current"
echo ">$(T $post)</a>"
echo ">$(T "$post")</a>"
fi
done
}
@ -32,6 +32,8 @@ X()(eval "$(P "cat<<.";cat;P;P .)")
. hell/hell
# MAIN
set +C # it's clobberin' time!!!
[ $DEBUG ] && set -x # debug if DEBUG is set
for F
do
printf>&2 '%s\t...' "$F"
@ -40,4 +42,4 @@ do
} || {
echo>&2 "FAIL."
}
done
done