summary refs log tree commit diff
path: root/bin/cash/tests/builtins/lineno.0
blob: d70fdf12b4c4b7f35ea880c9c068e3795a0b6b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/lineno.0 179023 2008-05-15 19:58:44Z stefanf $
echo $LINENO
echo $LINENO

f() {	
	echo $LINENO
	echo $LINENO
}

f

echo ${LINENO:-foo}
echo ${LINENO=foo}
echo ${LINENO:+foo}
echo ${LINENO+foo}
echo ${#LINENO}