]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/lineno.0
shell_cmds-203.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / lineno.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/builtins/lineno.0 179023 2008-05-15 19:58:44Z stefanf $
71aad674
A
2echo $LINENO
3echo $LINENO
4
5f() {
6 echo $LINENO
7 echo $LINENO
8}
9
10f
11
12echo ${LINENO:-foo}
13echo ${LINENO=foo}
14echo ${LINENO:+foo}
15echo ${LINENO+foo}
16echo ${#LINENO}