Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2002 08:00:08 -0700 (PDT)
From:      Ceri Davies <setantae@submonkey.net>
To:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/37667: FreeBSD Hypertext Man Pages have problems with tailing spaces
Message-ID:  <200205041500.g44F08Y31200@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/37667; it has been noted by GNATS.

From: Ceri Davies <setantae@submonkey.net>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: docs/37667: FreeBSD Hypertext Man Pages have problems with tailing spaces
Date: Sat, 4 May 2002 15:53:36 +0100

 --J/dobhs11T7y2rNN
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Adding to audit trail.
 
 Ceri
 -- 
 get the cool shoe shine
 
 --J/dobhs11T7y2rNN
 Content-Type: message/rfc822
 Content-Disposition: inline
 
 Return-path: <owner-freebsd-doc@FreeBSD.ORG>
 Envelope-to: setantae@submonkey.net
 Delivery-date: Sat, 04 May 2002 15:52:12 +0100
 Received: from shaft.techsupport.co.uk ([212.250.77.214])
 	by rhadamanth.submonkey.net with esmtp (Exim 3.36 #1)
 	id 1740tQ-0001c1-00
 	for setantae@submonkey.net; Sat, 04 May 2002 15:52:12 +0100
 Received: from mx2.freebsd.org ([216.136.204.119])
 	by shaft.techsupport.co.uk with esmtp (Exim 3.36 #1)
 	id 1740tQ-00043H-00
 	for setantae@submonkey.net; Sat, 04 May 2002 15:52:12 +0100
 Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18])
 	by mx2.freebsd.org (Postfix) with ESMTP
 	id DBE53559FA; Sat,  4 May 2002 07:52:08 -0700 (PDT)
 	(envelope-from owner-freebsd-doc@FreeBSD.ORG)
 Received: by hub.freebsd.org (Postfix, from userid 538)
 	id C4D0337B41B; Sat,  4 May 2002 07:52:07 -0700 (PDT)
 Received: from localhost (localhost [127.0.0.1])
 	by hub.freebsd.org (Postfix) with SMTP
 	id BBC172E8000; Sat,  4 May 2002 07:52:07 -0700 (PDT)
 Received: by hub.freebsd.org (bulk_mailer v1.12); Sat, 4 May 2002 07:52:07 -0700
 Delivered-To: freebsd-doc@freebsd.org
 Received: from rhadamanth.submonkey.net (pc4-card4-0-cust162.cdf.cable.ntl.com [80.4.14.162])
 	by hub.freebsd.org (Postfix) with ESMTP id 3E1B437B419
 	for <freebsd-doc@freebsd.org>; Sat,  4 May 2002 07:52:05 -0700 (PDT)
 Received: from setantae by rhadamanth.submonkey.net with local (Exim 3.36 #1)
 	id 1740tC-0001by-00; Sat, 04 May 2002 15:51:58 +0100
 Date: Sat, 4 May 2002 15:51:58 +0100
 From: Ceri Davies <setantae@submonkey.net>
 To: Oliver Fischer <plexus@snafu.de>
 Cc: freebsd-doc@FreeBSD.org
 Subject: Re: docs/37667: FreeBSD Hypertext Man Pages have problems with tailing spaces
 Message-ID: <20020504145158.GA5911@submonkey.net>
 References: <200205041000.g44A07q91990@freefall.freebsd.org>
 Mime-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 In-Reply-To: <200205041000.g44A07q91990@freefall.freebsd.org>
 User-Agent: Mutt/1.3.28i
 Sender: owner-freebsd-doc@FreeBSD.ORG
 List-ID: <freebsd-doc.FreeBSD.ORG>
 List-Archive: <http://docs.freebsd.org/mail/>; (Web Archive)
 List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
 List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-doc>
 List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-doc>
 X-Loop: FreeBSD.org
 Precedence: bulk
 
 On Sat, May 04, 2002 at 03:00:07AM -0700, Oliver Fischer wrote:
 > 
 >  Hm, I used the quotes only to show the space after the keyword. If I
 >  enter >>man route    << I will show me the man page independend of the
 >  number of blanks. I think it want be much work to remove the tailing
 >  white spaces.
 
 Something like this should sort it :
 
 --- man.cgi.old	Sat May  4 15:47:25 2002
 +++ man.cgi	Sat May  4 15:50:17 2002
 @@ -349,6 +349,7 @@
  	return &man($1, $2);
      }
  
 +    $form{'query'} =~ s/\s+$//;
      $name = $query = $form{'query'};
      $section = $form{'sektion'};
      $apropos = $form{'apropos'};
 
 I'll have to send this over to wosch to see what he thinks.
 
 Ceri
 
 -- 
 get the cool shoe shine
 
 To Unsubscribe: send mail to majordomo@FreeBSD.org
 with "unsubscribe freebsd-doc" in the body of the message
 
 --J/dobhs11T7y2rNN--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205041500.g44F08Y31200>