summary refs log tree commit diff
diff options
context:
space:
mode:
authorKalle Olavi Niemitalo <kon@iki.fi>2011-07-07 15:02:46 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2011-07-07 16:41:14 +0800
commit8685de4a289cce690c4f828742de0714b8c0eaaa (patch)
tree35ad4995f107d6036eb38a917a862069fb84574f
parent[SHELL] Optimize dash -c "command" to avoid a fork (diff)
downloaddash-8685de4a289cce690c4f828742de0714b8c0eaaa.tar.gz
dash-8685de4a289cce690c4f828742de0714b8c0eaaa.zip
[MAN] Remove spurious space in descriptions of PS1, PS2, PS4
From: Kalle Olavi Niemitalo <kon@iki.fi>

LANG=C man dash shows:

     PS1        The primary prompt string, which defaults to ``$  '', unless
                you are the superuser, in which case it defaults to ``#  ''.

     PS2        The secondary prompt string, which defaults to ``>  ''.

     PS4        Output before each line when execution trace (set -x) is
                enabled, defaults to ``+  ''.

Each of the documented default values has a graphic character and
two spaces between the quotation marks.  However, the actual
default values have only one space, rather than two.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--ChangeLog4
-rw-r--r--src/dash.18
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index c457fc8..216fc51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 
 	* Optimize dash -c "command" to avoid a fork.
 
+2011-05-02  Kalle Olavi Niemitalo <kon@iki.fi>
+
+	* Remove spurious space in descriptions of PS1, PS2, PS4.
+
 2011-04-10  Jonathan Nieder <jrnieder@gmail.com>
  
 	* Remove unused EV_BACKCMD flag.
diff --git a/src/dash.1 b/src/dash.1
index ddeb52b..3847d98 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -2276,16 +2276,16 @@ setting.
 There is a maximum of 10 mailboxes that can be monitored at once.
 .It Ev PS1
 The primary prompt string, which defaults to
-.Dq $ \  ,
+.Dq $\  ,
 unless you are the superuser, in which case it defaults to
-.Dq # \  .
+.Dq #\  .
 .It Ev PS2
 The secondary prompt string, which defaults to
-.Dq \*[Gt] \  .
+.Dq \*[Gt]\  .
 .It Ev PS4
 Output before each line when execution trace (set -x) is enabled,
 defaults to
-.Dq + \  .
+.Dq +\  .
 .It Ev IFS
 Input Field Separators.
 This is normally set to