[PATCH] [MAN] Remove spurious space in descriptions of PS1, PS2, PS4

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

 



From: Kalle Olavi Niemitalo <kon@xxxxxx>

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@xxxxxxxxx>
---
Kalle Olavi Niemitalo wrote[1]:

> Here's the diff against 0.5.5.1-7.4.

Thanks.  Looking at the formatted output, I see some other extra
spaces (mostly around punctuation), but fixing these confusing ones
first doesn't sound like a bad idea.

[1] http://bugs.debian.org/624715

 src/dash.1 |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

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
-- 
1.7.5

--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux