Module Name: src
Committed By: uwe
Date: Tue Mar 13 19:35:46 UTC 2018
Modified Files:
src/bin/sh: sh.1
Log Message:
.Bd expects the display type to come first, so move -compact to the end.
To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/bin/sh/sh.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/sh.1
diff -u src/bin/sh/sh.1:1.176 src/bin/sh/sh.1:1.177
--- src/bin/sh/sh.1:1.176 Tue Mar 13 19:18:53 2018
+++ src/bin/sh/sh.1 Tue Mar 13 19:35:46 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: sh.1,v 1.176 2018/03/13 19:18:53 uwe Exp $
+.\" $NetBSD: sh.1,v 1.177 2018/03/13 19:35:46 uwe Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -442,7 +442,7 @@ option to be sent to standard error as i
.Fl X
option is enabled (regardless of its previous state.)
For example:
-.Bd -compact -literal
+.Bd -literal -compact
set -X 2>/tmp/trace-file
.Ed
will arrange for tracing output to be sent to the file named,
@@ -3527,7 +3527,7 @@ ignored by the terminal if received, as
.Xr editline 7
is not in use, the prompt strings are simply written to the terminal.
For example, setting:
-.Bd -compact -literal -offset left
+.Bd -literal -offset left -compact
PSlit="$(printf\ '\e1')"
PS1="${PSlit}$(tput\ bold\ blink)${PSlit}\e$${PSlit}$(tput\ sgr0)${PSlit}\ "
.Ed