Slight changes to G
This commit is contained in:
parent
df0677b072
commit
e9f7d5acef
8
G
8
G
|
@ -6,7 +6,7 @@
|
|||
# symbols (?)
|
||||
PHI="<span class=phi>ⱷ</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
|
||||
|
|
Loading…
Reference in New Issue