Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Use \(em for em-dash
details: https://anonhg.NetBSD.org/src/rev/5186abae69f9
branches: trunk
changeset: 321374:5186abae69f9
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Mar 13 20:18:16 2018 +0000
description:
Use \(em for em-dash
diffstat:
bin/sh/sh.1 | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (58 lines):
diff -r 396027b95796 -r 5186abae69f9 bin/sh/sh.1
--- a/bin/sh/sh.1 Tue Mar 13 20:08:11 2018 +0000
+++ b/bin/sh/sh.1 Tue Mar 13 20:18:16 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sh.1,v 1.179 2018/03/13 20:08:11 uwe Exp $
+.\" $NetBSD: sh.1,v 1.180 2018/03/13 20:18:16 uwe Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -947,7 +947,7 @@
reached before the delimiter is encountered.
.Ss Search and Execution
There are three types of commands: shell functions, built-in commands, and
-normal programs -- and the command is searched for (by name) in that order.
+normal programs \(em and the command is searched for (by name) in that order.
A command that contains a slash
.Sq \&/
in its name is always a normal program.
@@ -1127,7 +1127,7 @@
.Pp
Note that unlike some other shells, each process in the pipeline is a
child of the invoking shell (unless it is a shell built-in, in which case
-it executes in the current shell -- but any effect it has on the
+it executes in the current shell \(em but any effect it has on the
environment is wiped).
.Pp
A pipeline is a simple case of an AND-OR-list (described below.)
@@ -1145,10 +1145,10 @@
can be obtained using the
.Ic wait
built-in command described later.
-.Ss Background Commands -- &
+.Ss Background Commands \(em &
If a command, pipeline, or AND-OR-list
is terminated by the control operator ampersand (&), the
-shell executes the command asynchronously -- that is, the shell does not
+shell executes the command asynchronously \(em that is, the shell does not
wait for the command to finish before executing the next command.
.Pp
The format for running a command in background is:
@@ -1164,7 +1164,7 @@
(see
.Sx Special Parameters )
provided it is accessed before the next asynchronous command is started.
-.Ss Lists -- Generally Speaking
+.Ss Lists \(em Generally Speaking
A list is a sequence of one or more commands separated by newlines,
semicolons, or ampersands, and optionally terminated by one of these three
characters.
@@ -1208,7 +1208,7 @@
.Dq baz
and nothing else.
This is not the way it works in C.
-.Ss Flow-Control Constructs -- if, while, until, for, case
+.Ss Flow-Control Constructs \(em if, while, until, for, case
These commands are instances of compound commands.
The syntax of the
.Ic if
Home |
Main Index |
Thread Index |
Old Index