Source-Changes-HG archive

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

[src/trunk]: src/bin/sh Use .Bd -literal for code example.



details:   https://anonhg.NetBSD.org/src/rev/590496b8b1ea
branches:  trunk
changeset: 360568:590496b8b1ea
user:      uwe <uwe%NetBSD.org@localhost>
date:      Fri Mar 16 23:36:13 2018 +0000

description:
Use .Bd -literal for code example.

diffstat:

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

diffs (34 lines):

diff -r e1db43c9fff2 -r 590496b8b1ea bin/sh/sh.1
--- a/bin/sh/sh.1       Fri Mar 16 23:31:19 2018 +0000
+++ b/bin/sh/sh.1       Fri Mar 16 23:36:13 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sh.1,v 1.196 2018/03/16 12:06:18 kre Exp $
+.\"    $NetBSD: sh.1,v 1.197 2018/03/16 23:36:13 uwe Exp $
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -176,18 +176,12 @@
 .Dq Ic esac
 below (these commands are described later):
 .Pp
-.Bl -item -compact -offset indent
-.It
-.Li case $- in *i*)
-.Bl -item -compact -offset indent
-.It
-.Li # commands for interactive use only
-.It
-.Li ...
-.El
-.It
-.Li esac
-.El
+.Bd -literal -offset indent
+case $- in *i*)
+        # commands for interactive use only
+        ...
+esac
+.Ed
 .Pp
 If command line arguments besides the options have been specified, and
 neither



Home | Main Index | Thread Index | Old Index