summaryrefslogtreecommitdiffstats
path: root/blog/builddb.pl
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
commite76cdb99c7654e691e6d2eb3f92af0f80121d124 (patch)
treeff41fa86f9c9be46d8bc1325317f1534ed3b3559 /blog/builddb.pl
parent75358c517834bca6b137cbc19052bb9a9ff5c830 (diff)
downloadpttbbs-e76cdb99c7654e691e6d2eb3f92af0f80121d124.tar
pttbbs-e76cdb99c7654e691e6d2eb3f92af0f80121d124.tar.gz
pttbbs-e76cdb99c7654e691e6d2eb3f92af0f80121d124.tar.bz2
pttbbs-e76cdb99c7654e691e6d2eb3f92af0f80121d124.tar.lz
pttbbs-e76cdb99c7654e691e6d2eb3f92af0f80121d124.tar.xz
pttbbs-e76cdb99c7654e691e6d2eb3f92af0f80121d124.tar.zst
pttbbs-e76cdb99c7654e691e6d2eb3f92af0f80121d124.zip
reformat short
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@899 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'blog/builddb.pl')
-rwxr-xr-xblog/builddb.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/blog/builddb.pl b/blog/builddb.pl
index 1be4c25a..49d2562e 100755
--- a/blog/builddb.pl
+++ b/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;
}