Navigation Menu

Skip to content

pronoiac/beanplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

beanplate - a tool for filtering the Metafilter Infodump.

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

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

Examples

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.)

About

Infodump filter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages