Skip to content

Instantly share code, notes, and snippets.

View elmer-garduno's full-sized avatar

Elmer Garduno elmer-garduno

View GitHub Profile
@elmer-garduno
elmer-garduno / stripgutenberg.pl
Created July 25, 2012 15:51 — forked from hippietrail/stripgutenberg.pl
Strip headers/footers from Project Gutenberg texts
#!/usr/bin/perl
# stripgutenberg.pl < in.txt > out.txt
#
# designed for piping
# Written by Andrew Dunbar (hippietrail), released into the public domain, Dec 2010
# Added some other patterns to the beginning and header states
use strict;