]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - bin/sh/tests/builtins/lineno.0
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / bin / sh / tests / 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}