Re: [PATCH] Update listingblock monospace fix to support all docbook versions
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- Jul 20, 2007, 19:32 UTC
- Message-ID
- <3A4230BE-5F05-4AE9-AAB3-3B66C30DEF76@silverinsanity.com>
- In-Reply-To
- <20070720121153.23352.73276.julian@quantumfyre.co.uk>
On Jul 20, 2007, at 8:06 AM, Julian Phillips wrote:
> +while ($line = <>) {
> + $line =~ s/^#GIT#SET#MAN#FONT#/.ft/;
> + print $line;
> +}Why not use `perl -pe "s/^#GIT#SET#MAN#FONT#/.ft/"` or an equivalent sed command in the Makefile instead of having this as a separate script?
~~ Brian