diff options
| author | fukachan <fukachan> | 2001-11-17 10:44:35 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-11-17 10:44:35 +0000 |
| commit | 91f4fa17f071c259dec90fbbc508325875e6bb5d (patch) | |
| tree | f1348494f6e6b1c1cc9e9de85b3cffda3a898b58 /Documentation | |
| parent | 132072f5e9c0ab402c60ee340f65c394cbd474fc (diff) | |
| download | fml8-91f4fa17f071c259dec90fbbc508325875e6bb5d.tar.gz fml8-91f4fa17f071c259dec90fbbc508325875e6bb5d.tar.bz2 fml8-91f4fa17f071c259dec90fbbc508325875e6bb5d.zip | |
efficient output
Diffstat (limited to 'Documentation')
| -rwxr-xr-x | Documentation/en/I-D/.remove_obsolete.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/en/I-D/.remove_obsolete.pl b/Documentation/en/I-D/.remove_obsolete.pl index 965f6349..0f8b8d4a 100755 --- a/Documentation/en/I-D/.remove_obsolete.pl +++ b/Documentation/en/I-D/.remove_obsolete.pl @@ -1,20 +1,24 @@ #!/usr/bin/env perl # -# $FML$ +# $FML: .remove_obsolete.pl,v 1.1 2001/08/22 22:24:37 fukachan Exp $ # use strict; use Carp; +print "cvs remove "; + my $prev = ''; for my $cur (sort <draft*txt>) { if (compare($prev, $cur)) { - print "cvs remove $prev\n"; + print "$prev "; } $prev = $cur; } +print "\n"; + sub compare { |
