Old shells had a working goto. Back in the day,
it was an external command that did an lseek.
I think it would better be done as a built-in.
Or a function?
goto()
{
sed -n "/^: *$1/,$ p" $0 | tail +2 | $SHELL
}
--
Chris F.A. Johnson http://cfaj.freeshell.org
=================================================================
Everything in moderation -- including moderation