]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/regression/bin/sh/builtins/lineno.0
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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}