]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/bin/sh/builtins/lineno.0
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / bin / sh / builtins / lineno.0
1 # $FreeBSD$
2 echo $LINENO
3 echo $LINENO
4
5 f() {   
6         echo $LINENO
7         echo $LINENO
8 }
9
10 f
11
12 echo ${LINENO:-foo}
13 echo ${LINENO=foo}
14 echo ${LINENO:+foo}
15 echo ${LINENO+foo}
16 echo ${#LINENO}