summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-26 10:56:39 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-26 10:56:39 +0800
commitd0e4a318a04b7100d2ff244c6755e4eefb132c23 (patch)
tree190adaecc2a61940e9b383462e180262d7cc39f7
parentd645e3f05823fff7341dc118435da3b69bf2bb89 (diff)
downloadpttbbs-d0e4a318a04b7100d2ff244c6755e4eefb132c23.tar
pttbbs-d0e4a318a04b7100d2ff244c6755e4eefb132c23.tar.gz
pttbbs-d0e4a318a04b7100d2ff244c6755e4eefb132c23.tar.bz2
pttbbs-d0e4a318a04b7100d2ff244c6755e4eefb132c23.tar.lz
pttbbs-d0e4a318a04b7100d2ff244c6755e4eefb132c23.tar.xz
pttbbs-d0e4a318a04b7100d2ff244c6755e4eefb132c23.tar.zst
pttbbs-d0e4a318a04b7100d2ff244c6755e4eefb132c23.zip
reformat short
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@899 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-xpttbbs/blog/builddb.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/pttbbs/blog/builddb.pl b/pttbbs/blog/builddb.pl
index 1be4c25a..49d2562e 100755
--- a/pttbbs/blog/builddb.pl
+++ b/pttbbs/blog/builddb.pl
@@ -115,8 +115,7 @@ sub builddata($$$$$$)
# ugly code for making short
my @c = split("\n",
$dat{"$currid.content"} = $rbh->{"$_.content"});
- $dat{"$currid.short"} = ("$c[0]\n$c[1]\n$c[2]\n".
- $c[3] ? '....' : '');
+ $dat{"$currid.short"} = ("$c[0]\n$c[1]\n$c[2]\n$c[3]\n");
if( !$contentonly ){
print "\tbuilding $currid linking... ";
@@ -145,7 +144,6 @@ sub builddata($$$$$$)
}
}
}
- print Dumper(\%dat);
untie %dat;
}