From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20724 invoked by alias); 3 Apr 2008 14:10:14 -0000 Received: (qmail 20711 invoked by uid 22791); 3 Apr 2008 14:10:13 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Apr 2008 14:09:39 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m33E9ZGY027725; Thu, 3 Apr 2008 10:09:35 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m33E9Z48026185; Thu, 3 Apr 2008 10:09:35 -0400 Received: from localhost.localdomain (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m33E9YnH005123; Thu, 3 Apr 2008 10:09:34 -0400 Message-ID: <47F4E516.4070000@redhat.com> Date: Thu, 03 Apr 2008 14:25:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Mark Wielaard CC: frysk Subject: Re: Put refpurposes one line for easy manpage generation. References: <1207230707.4284.11.camel@localhost.localdomain> In-Reply-To: <1207230707.4284.11.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00018.txt.bz2 Mark, Our man pages are in XML for a reason; surely we can make use of that. A short script should do it. Andrew Mark Wielaard wrote: > Hi, > > This puts all refpurpose tags and content on one line for better manpage > generation. Also did an upload-manpages. The currrent script expects > this tag and matching closing tag on one line, if it isn't the > description on the man index page will be empty (if someone knows some > sed foo to make this more flexible that would be appreciated). > http://sourceware.org/frysk/manpages/ > > frysk-core/frysk/bindir/ChangeLog > 2008-04-03 Mark Wielaard > > * fdebuginfo.xml: Put refpurpose on one line. > * ferror.xml: Likewise. > * fexe.xml: Likewise. > * fmaps.xml: Likewise. > > diff --git a/frysk-core/frysk/bindir/fdebuginfo.xml b/frysk-core/frysk/bindir/fdebuginfo.xml > index c641219..3798c06 100644 > --- a/frysk-core/frysk/bindir/fdebuginfo.xml > +++ b/frysk-core/frysk/bindir/fdebuginfo.xml > @@ -70,8 +70,7 @@ > > > fdebuginfo > - display the debug-info paths for a process and its > - shared modules > + display the debug-info paths for a process and its shared modules > > > > diff --git a/frysk-core/frysk/bindir/ferror.xml b/frysk-core/frysk/bindir/ferror.xml > index 5a1cf8d..6d4bc90 100644 > --- a/frysk-core/frysk/bindir/ferror.xml > +++ b/frysk-core/frysk/bindir/ferror.xml > @@ -70,8 +70,7 @@ > > > ferror > - print a stack trace when the given message is printed > - by the traced program > + print a stack trace when the given message is printed by the traced program > > > > diff --git a/frysk-core/frysk/bindir/fexe.xml b/frysk-core/frysk/bindir/fexe.xml > index bb7d91c..2c7a4c7 100644 > --- a/frysk-core/frysk/bindir/fexe.xml > +++ b/frysk-core/frysk/bindir/fexe.xml > @@ -70,8 +70,7 @@ > > > fexe > - print a process or corefile's executable > - path > + print a process or corefile's executable path > > > > diff --git a/frysk-core/frysk/bindir/fmaps.xml b/frysk-core/frysk/bindir/fmaps.xml > index df0c35a..692967e 100644 > --- a/frysk-core/frysk/bindir/fmaps.xml > +++ b/frysk-core/frysk/bindir/fmaps.xml > @@ -70,8 +70,7 @@ > > > fmaps > - print the process or a corefile's address > - maps. > + print the process or a corefile's address maps. > > > > > > >