#!/bin/sh processline() { echo "- $1 -" echo "==============================================================================================" name="$1" anchors="" echo "$1.txt $*" >> anchors while [ "$1" != "" ] ; do echo "s!\[help:$1\]!$name.html!g" >> htmllinks.sed echo "s!\[help:$1\]!help:anchor=$name bookID=XaoS Help!g" >> applehelplinks.sed shift done # I changed "0" to "$" because my sed # doesn't want to understand "0". # -- Zoltan echo '
_g
s_
__g
s_