Re: Small fixes for ssh.1 and ssh_config.5, OpenSSH_7.2p2

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

 



Hi Steffen,

Steffen Nurpmeso wrote on Tue, Mar 29, 2016 at 09:21:07PM +0200:

> the fix says it all.  sftp.1 uses correct syntax already.

This patch is bogus.  Both versions are completely correct.

The purpose of escaping in this context is to prevent mdoc(7)
from treating the exclamation mark as a delimiter, which can
influence spacing and end of sentence detection.

The mdoc(7) language treats the argument of an mdoc macro
as a delimiter if both of the following conditions hold:

 1. The macro argument consists of exactly one input character.
 2. That character is anyone from the following set:
     - opening delimiters:  ([
     - middle delimiters:   |
     - closing delimiters:  .,:;)]?!

The usual way to escape an argument such that it isn't taken as
a delimiter is to add a zero-width space "\&" such that condition 1
no longer holds.  See the mdoc(7) manual, subsection "Delimiters",
for a full discussion.

I admit that i usually put the "\&" in front of the character rather
than after it, and so do the examples in the mdoc(7) manual.  But
some people find it more intuitive to put the "\&" afterwards to
express that the character is not ending a sentence (i.e. is not a
delimiter).

I don't see the point in enforcing either style, it seems like
useless churn and wasted time.

Yours,
  Ingo
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux