[bug #3436] (grass) Re: [GRASS5] Patch for bug#3345 (debian bug#313307)

this bug's URL: http://intevation.de/rt/webrt?serial_num=3436
-------------------------------------------------------------------------

Daniel,

thanks for the new patch, seems to work fine (I tested a few
man pages).

Applied to both 6.1-CVS and 6.0-CVS.

Markus

On Sat, Jul 16, 2005 at 08:42:47PM -0500, Daniel Calvelo Aros wrote:

Ok, there you are. This patch does correctly escape backslashes before
processing and then re-escapes single and double quotes where they could be
active characters for roff.

I noticed that backslashes are seldom used in the docs, but on two occasions
they are intended to be actual roff escapes:

- r.mapcalc uses '\e' to denote continuation once. It uses '\' one paragraph
later for the same. I think with this patch applied the '\e' should be changed
to '\'. Note that for roff \e is the escape character, which can be changed,
whereas \(rs is the backslash glyph. BTW, the docs for r.mapcalc contain
several tables written as preformatted text, which can be rewritten as proper
tables.

- r.watershed uses both \u and \d escapes, which are roff codes for switching
on and off superscript. Those should be changed to something html-ish.

Otherwise, occurrences of '\' are for verbatim continuation lines or as
html-unescaped shell-like special characters: \t, \n,...

Hope I got it right this time. Sorry for the previous noise.

-- Daniel Calvelo Aros

--- Headers Follow ---

From neteler@itc.it Mon Jul 18 10:28:34 2005

Return-Path: <neteler@itc.it>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id 957331006BC
  for <grass-bugs@lists.intevation.de>; Mon, 18 Jul 2005 10:28:34 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id EBD0C36EDF
  for <grass-bugs@lists.intevation.de>; Mon, 18 Jul 2005 10:28:31 +0200 (CEST)
Received: from mail.itc.it (ns.itc.it [217.77.80.3])
  by mail.intevation.de (Postfix) with ESMTP id 6FDFA36E43
  for <grass-bugs@intevation.de>; Mon, 18 Jul 2005 10:28:29 +0200 (CEST)
Received: from ntmain.itc.it ([10.0.20.40])
  by mail.itc.it (8.12.11/8.12.11) with SMTP id j6I8SR3Q020686;
  Mon, 18 Jul 2005 10:28:27 +0200
Received: from orchestra.itc.it ([10.0.10.11])
by ntmain.itc.it (SMSSMTP 4.1.5.31) with SMTP id M2005071810282731516
; Mon, 18 Jul 2005 10:28:27 +0200
Received: from thuille.itc.it. (thuille [10.40.0.110])
  by orchestra.itc.it (8.12.11/8.12.11) with ESMTP id j6I8SQvR010714;
  Mon, 18 Jul 2005 10:28:27 +0200
Received: from thuille.itc.it. (localhost.localdomain [127.0.0.1])
  by thuille.itc.it. (8.13.1/8.13.1) with ESMTP id j6I8SQXd011342;
  Mon, 18 Jul 2005 10:28:26 +0200
Received: (from neteler@localhost)
  by thuille.itc.it. (8.13.1/8.13.1/Submit) id j6I8SQTI011341;
  Mon, 18 Jul 2005 10:28:26 +0200
Date: Mon, 18 Jul 2005 10:28:26 +0200
From: Markus Neteler <neteler@itc.it>
To: daniel.calvelo@minag.gob.pe, grass-bugs@intevation.de
Cc: Steve Halasz <debian@adkgis.org>, grass5@grass.itc.it
Subject: Re: [GRASS5] Patch for bug#3345 (debian bug#313307)
Message-ID: <20050718082825.GA10709@thuille.itc.it>
Mail-Followup-To: daniel.calvelo@minag.gob.pe,
  grass-bugs@intevation.de, Steve Halasz <debian@adkgis.org>,
  grass5@grass.itc.it
References: <20050713021606.M26168@minag.gob.pe> <1121222254.4137.16.camel@marcy> <20050713102111.GA23537@thuille.itc.it> <20050713185442.M81779@minag.gob.pe> <20050714083207.GE20871@thuille.itc.it> <20050717013404.M86465@minag.gob.pe>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050717013404.M86465@minag.gob.pe>
User-Agent: Mutt/1.4.1i
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker