busybox/shell/ash_test/ash-vars/var_LINENO2.tests

9 lines
222 B
Plaintext
Executable File

#skip lines: make "line number within function" differ from overall line number
#skip lines
f() {
echo "In function: LINENO=$LINENO"
}
echo "Start LINENO=$LINENO, calling function"
f
echo "After function: LINENO=$LINENO"