]>
Commit | Line | Data |
---|---|---|
deb63bfb | 1 | # $FreeBSD: head/bin/sh/tests/builtins/lineno.0 179023 2008-05-15 19:58:44Z stefanf $ |
71aad674 A |
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} |