delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/04/02:27:23

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=qM0Fldw07qK42cv4HT3L5oqyXxoVZdW/2lg/GxqBWu7
DS0ZgY7FpWeCWMHfZutaNgIpcOdKl5VqynhLVtI70rRg3vTqVHk7HS/RM7DGNkdF
1eUONlDHBMVokaqshBdohXKUQ8fBmfYd3xg3fkMj64I04noudRrlb0/qdBeF3VIE
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=3GzHaF1EH+hpLBLiBSxjOMyolj8=; b=cHkONnVpyz0/BvkQU
4WF6FCzCiK5Tc7GviaeLd9Sj1tyJGx5VQptEu51Liv+jRYeQR4WLM5lELY263ecI
v3zZn9zxzlWKyrz+lWHxqF12+ATXyfXSfAVxuzpbsERbNf0kcLbwP+oANfeqHOpZ
OHDyI5U5jhLI/nKexKj9wf5fFE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wi0-f169.google.com
X-Received: by 10.194.192.33 with SMTP id hd1mr66612276wjc.96.1433399222595; Wed, 03 Jun 2015 23:27:02 -0700 (PDT)
Message-ID: <556FEFA8.6010100@gmail.com>
Date: Thu, 04 Jun 2015 08:26:48 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: strftime man page is garbled
References: <556FA760 DOT 7040501 AT acm DOT org> <556FE2DA DOT 7040505 AT gmail DOT com> <873828gh5q DOT fsf AT Rainer DOT invalid>
In-Reply-To: <873828gh5q.fsf@Rainer.invalid>
X-IsSubscribed: yes


On 6/4/2015 7:46 AM, Achim Gratz wrote:
> Marco Atzeri writes:
>> Works fine for me, I have a complete man page
>> see attached.
>
> I think that's exactly what Wayne was talking about:
>
>> DESCRIPTION
>>         into a null-terminated string, starting at S and occupying no more than
>>         MAXSIZE characters.
>
> The beginning of the sentence seems to be missing, although it looks
> like a run-in from the NAME section could be intended.  Also, if you
> look at that manpage in a wide terminal you'll see that most paragraphs
> have hard formatting, while some flow to the width of the terminal.
>
> Both things are happening on other newlib manpages as well, so it's
> probably either the source code for the manpages itself or man doesn't
> deal with the slightly odd roff macros from newlib correctly.
>
>
> Regards,
> Achim.
>

you are right.
The man page seems very simple

--------------------------------------------------
.SH DESCRIPTION
'strftime' converts a 'struct tm' representation of the time (at TIMP)
into a null-terminated string, starting at S and occupying no more than
MAXSIZE characters.
--------------------------------------------------

It looks a man-db issue, it misinterprets the ' at the begin
of the phrase.

Adding a single space before works fine.


DESCRIPTION
  'strftime' converts a 'struct tm' representation of the time (at TIMP)
into a null-terminated string, starting at S and occupying no more than
MAXSIZE characters.








--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019