beanplate - a tool for filtering the Metafilter Infodump.
The Metafilter Infodump is "a collection of data culled from the Metafilter database, for explorin' and crunchin' and statistifyin'." It's available for download, with wiki documentation & it's catalyzed much analysis & pretty graphs.
Usage: beanplate.pl [OPTION]... [CONDITION] [FILE]...
The condition & input files can be listed or specified as options.
- -c "CONDITION" condition for a match
- -i "FILE" input file
- -f "FORMAT" what to print in case of a match
Huh?
- -h help! (you're reading it.)
- -v verbose
- -d debug
Show posts from October 2009:
./beanplate.pl "datestamp =~ /2009-10/" postdata_mefi.txt
List users with 3-character usernames:
./beanplate.pl "name =~ /^...$/" usernames.txt
Show comments with the same id # as their post:
./beanplate.pl -v "commentid eq postid" commentdata_*
(this only shows a couple of first comments to first posts in subsites)
Show Metafilter posts without titles (note, there are 21,000):
./beanplate.pl -i posttitles_mefi.txt -c "title =~ /^$/"
(This page was written using the WMD Editor.)