From e76cdb99c7654e691e6d2eb3f92af0f80121d124 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 26 May 2003 02:56:39 +0000 Subject: reformat short git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@899 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- blog/builddb.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'blog') 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; } -- cgit v1.2.3