Is there a system variable that tells what line of a file you are on?
I have some echo's that tell me where the program is at and I hard coded the line number in, so then as I modify the file I have to change the echo statements too. Is there a way I could just echo something like:
echo "This is line $line";
What system variable would I use for $line?