mirror of
https://github.com/vgough/encfs.git
synced 2024-11-22 16:03:34 +01:00
4fc836f032
git-svn-id: http://encfs.googlecode.com/svn/trunk@2 db9cf616-1c43-0410-9cb8-a902689de0d6
33 lines
430 B
Perl
33 lines
430 B
Perl
#!/usr/bin/perl -w
|
|
|
|
use strict;
|
|
|
|
open(LOG, "darcs changes|") || die "Can't open 'dk changes': $!";
|
|
|
|
my $lastDate = "";
|
|
while(<LOG>)
|
|
{
|
|
if( /^(\w+)\s+(\w+)\s+(\d+)\s+([0-9:]+)\s+(\w+)\s+(\d+)\s+(.*)$/ )
|
|
{
|
|
my $date = "$1 $2 $3 $6";
|
|
if($date ne $lastDate)
|
|
{
|
|
$lastDate = $date;
|
|
print "$date $7\n";
|
|
}
|
|
} else
|
|
{
|
|
s/^\s+//;
|
|
if(/\w/)
|
|
{
|
|
print "\t$_";
|
|
} else
|
|
{
|
|
#print "\n";
|
|
}
|
|
}
|
|
}
|
|
|
|
close(LOG)
|
|
|