Get line number in a Bourne shell script

view story

http://unix.stackexchange.com – I'd like to be able to print the current line number in a shell script. I know about the $LINENO variable in Bash shells, but it doesn't seem to exist in Bourne shells. Is there any other variable or way I can get the line number? Thanks (HowTos)