dash.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [MAN] Remove spurious space in descriptions of PS1, PS2, PS4
       [not found]   ` <87liyqpudv.fsf@Pulska.kon.iki.fi>
@ 2011-05-02  8:07     ` Jonathan Nieder
  2011-07-07  7:03       ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Nieder @ 2011-05-02  8:07 UTC (permalink / raw)
  To: dash; +Cc: Kalle Olavi Niemitalo

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [MAN] Remove spurious space in descriptions of PS1, PS2, PS4
  2011-05-02  8:07     ` [PATCH] [MAN] Remove spurious space in descriptions of PS1, PS2, PS4 Jonathan Nieder
@ 2011-07-07  7:03       ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2011-07-07  7:03 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: dash, Kalle Olavi Niemitalo

On Mon, May 02, 2011 at 08:07:01AM +0000, Jonathan Nieder wrote:
> 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>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-07  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87fwozqy21.fsf@Pulska.kon.iki.fi>
     [not found] ` <20110430220553.GB20433@elie>
     [not found]   ` <87liyqpudv.fsf@Pulska.kon.iki.fi>
2011-05-02  8:07     ` [PATCH] [MAN] Remove spurious space in descriptions of PS1, PS2, PS4 Jonathan Nieder
2011-07-07  7:03       ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).