OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re Date: 25-Nov-2002 14:40:20
Branch: HEAD Handle: 2002112513401900
Modified files:
openpkg-re openpkg-index
Log:
beautify output
Summary:
Revision Changes Path
1.16 +2 -2 openpkg-re/openpkg-index
____________________________________________________________________________
Index: openpkg-re/openpkg-index
============================================================
$ cvs diff -u -r1.15 -r1.16 openpkg-index
--- openpkg-re/openpkg-index 25 Nov 2002 13:35:53 -0000 1.15
+++ openpkg-re/openpkg-index 25 Nov 2002 13:40:19 -0000 1.16
@@ -50,11 +50,11 @@
my($i);
$i = undef;
- while ($s =~ /^(\s+)/g) {
+ while ($s =~ /^(\s+)/mg) {
$i = $1 if !defined $i || length($1) < length($i);
}
- $s =~ s/^$i//mg;
+ $s =~ s/^$i//mg if defined $i;
$s =~ s/\s+$//mg;
$s =~ s/&/&/sg;
$s =~ s/</</sg;
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]