Source-Changes-HG archive

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

[src/netbsd-1-5]: src/bin/sh Pull up revision 1.43 (via patch, requested by w...



details:   https://anonhg.NetBSD.org/src/rev/af40e20ee9c6
branches:  netbsd-1-5
changeset: 491063:af40e20ee9c6
user:      he <he%NetBSD.org@localhost>
date:      Wed Apr 04 16:15:24 2001 +0000

description:
Pull up revision 1.43 (via patch, requested by wiz):
  Don't xref set(1) and case(1), since they are builtins and we don't
  have separate man pages for them.
  Xref passwd 5 instead of 4, environ 7 instead of 5, and comment out xref
  to profile(4), which we don't have.
  Improve markup of SYNOPSIS.
  Some whitespace fixes while I'm here.

diffstat:

 bin/sh/sh.1 |  25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diffs (89 lines):

diff -r ebc974643d72 -r af40e20ee9c6 bin/sh/sh.1
--- a/bin/sh/sh.1       Wed Apr 04 16:09:36 2001 +0000
+++ b/bin/sh/sh.1       Wed Apr 04 16:15:24 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sh.1,v 1.33.4.5 2001/03/18 03:20:12 wulf Exp $
+.\"    $NetBSD: sh.1,v 1.33.4.6 2001/04/04 16:15:24 he Exp $
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -39,9 +39,10 @@
 .Os
 .Dt SH 1
 .Sh NAME
-sh \- command interpreter (shell)
+.Nm sh
+.Nd command interpreter (shell)
 .Sh SYNOPSIS
-.Nm sh
+.Nm
 .Op Fl /+aCefnuvxIimqsVEbc
 .Op Fl o Ar longname
 .Bk -words
@@ -83,7 +84,7 @@
 is connected to a terminal (or if the
 .Fl i
 flag is set),
-and the 
+and the
 .Fl c
 option is not present, the shell is considered an interactive shell.  An
 interactive shell generally prompts before each command and handles
@@ -165,7 +166,7 @@
 disables the option.
 The following options can be set from the command line or
 with the
-.Xr set 1
+.Ic set
 builtin (described later).
 .Bl -tag -width aaaallexportfoo -offset indent
 .It Fl a Em allexport
@@ -231,7 +232,7 @@
 Read commands from standard input (set automatically if no file arguments
 are present).  This option has no effect when set after the shell has
 already started running (i.e. with
-.Xr set 1 ) .
+.Ic set ) .
 .It Fl V Em vi
 Enable the built-in
 .Xr vi 1
@@ -709,7 +710,7 @@
 A positional parameter is a parameter denoted by a number (n > 0). The
 shell sets these initially to the values of its command line arguments
 that follow the name of the shell script. The
-.Xr set 1
+.Ic set
 builtin can also be used to set or reset them.
 .Ss Special Parameters
 A special parameter is a parameter denoted by one of the following special
@@ -955,7 +956,7 @@
 second, a pattern cannot match a string starting with a period unless the
 first character of the pattern is a period. The next section describes the
 patterns used for both Pathname Expansion and the
-.Xr case 1
+.Ic case
 command.
 .Ss Shell Patterns
 A pattern consists of normal characters, which match themselves,
@@ -1343,7 +1344,7 @@
 Assigns value to variable. (In general it is better to write
 variable=value rather than using
 .Ic setvar .
-.Ic setvar 
+.Ic setvar
 is intended to be used in
 functions that assign values to variables whose names are passed as
 parameters.)
@@ -1557,9 +1558,9 @@
 .Xr login 1 ,
 .Xr test 1 ,
 .Xr getopt 3 ,
-.Xr passwd 4 ,
-.Xr profile 4 ,
-.Xr environ 5
+.Xr passwd 5 ,
+.\" .Xr profile 4 ,
+.Xr environ 7 ,
 .Xr sysctl 8
 .Sh HISTORY
 A



Home | Main Index | Thread Index | Old Index