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

Re: Bug in polnish epilog script



On Sun, Jul 27, 2003 at 10:12:31PM +0200, Osamu Aoki wrote:
> > If perl is used, then it would be best to do it this way:
> > 
> > ------------------------------------------
> > #!/usr/bin/perl -pi
> > s/(^|\s),,/\„/g;
> > s/''/\”/g;
> > ------------------------------------------
> > 
> > This way we don't assume that working directory is writable (not that it
> > matters much), and it's cleaner and more flexible.
> 
> Not that I know Perl...
> 
> Since this is a patch to a shell script file, Marcin's intent can be
> better served by following patch, I think:
> 
> -sed -e "s/,,/\„/g; s/''/\”/g;" $1 > temp
> +perl -pi -e "s/(^|\s),,/\„/g; s/''/\”/g;" $1
> 
> Of cource I like source to be written in something
> like    „text”
> than  ,,text''.
> 
> I know it is a pain to type. Bartosz, hello :-)  We do not need to
> start.  I can live as is.
That's not only "typing" problem.
„ != „
” != ”

Hmm... or you think about changing „ to &8222; during building of
webpages ?

regards
fEnIo
-- 
      _     Bartosz Feński aka fEnIo | mailto:fenio@o2.pl | pgp:0x13fefc40 
    _|_|_    32-050 Skawina - Głowackiego 3/15 - w. małopolskie - Polska
    (0 0)     phone:+48501608340 | ICQ:46704720 | GG:726362 | IRC:fEnIo
ooO--(_)--Ooo http://skawina.eu.org | JID:fenio@jabber.org | RLU:172001

Attachment: pgpAjMmZZpD2y.pgp
Description: PGP signature


Reply to: