Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh document LINENO



details:   https://anonhg.NetBSD.org/src/rev/85917c7710f5
branches:  trunk
changeset: 790297:85917c7710f5
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 02 20:42:56 2013 +0000

description:
document LINENO
XXX: someone should fix all the .Ev stuff because some of them are just
shell variables .Va and are not really exported to the environment. See
the FreeBSD man page.

diffstat:

 bin/sh/sh.1 |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 9aba049f638c -r 85917c7710f5 bin/sh/sh.1
--- a/bin/sh/sh.1       Wed Oct 02 19:52:58 2013 +0000
+++ b/bin/sh/sh.1       Wed Oct 02 20:42:56 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sh.1,v 1.110 2013/05/09 11:43:27 simonb Exp $
+.\"    $NetBSD: sh.1,v 1.111 2013/10/02 20:42:56 christos Exp $
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -31,7 +31,7 @@
 .\"
 .\"    @(#)sh.1        8.6 (Berkeley) 5/4/95
 .\"
-.Dd May 9, 2013
+.Dd October 2, 2013
 .Dt SH 1
 .Os
 .Sh NAME
@@ -1896,6 +1896,8 @@
 The search path used with the
 .Ic cd
 built-in.
+.It Ev LINENO
+The current line number in the script or function.
 .It Ev LANG
 The string used to specify localization information that allows users
 to work with different culture-specific and language conventions.



Home | Main Index | Thread Index | Old Index