[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in polnish epilog script



* Frank Lichtenheld <frank@lichtenheld.de> [2003-07-27 17:28]:
> I propose the following patch:
> Index: znaczki.sh
> ===================================================================
> RCS file: /cvs/webwml/webwml/polish/znaczki.sh,v
> retrieving revision 1.1
> diff -u -r1.1 znaczki.sh
> --- znaczki.sh  13 Jul 2003 12:54:29 -0000      1.1
> +++ znaczki.sh  27 Jul 2003 15:18:46 -0000
> @@ -1,3 +1,3 @@
>  #!/bin/sh
> -sed -e "s/,,/\&#8222;/g; s/''/\&#8221;/g;" $1 > temp
> +perl -p -e "s/(^|\s),,/\&#8222;/g; s/''/\&#8221;/g;" $1 > temp
>  mv temp $1

 Uhm, just one quick stupid question, but is this really needed in the
epilog or can't rather be the sources (and the writers) be patched in
that respect?  It seems like they are misusing the epilog for some kind
of wiki-parsing to me, a thing that it isn't intent for, IMHO.

 Or do I get this wrong?  If it is to have some wiki-style writing
abilities please don't do it, rather patch the files directly.

 So long,
Alfie
-- 
use Mail::Signature;
$sig = Mail::Signature->new;
print $sig->random;

Attachment: pgpwydv4nouPc.pgp
Description: PGP signature


Reply to: