Unicorn TSV-maker can now handle bill.data and charge.data too.
authorBen Ostrowsky <ben@esilibrary.com>
Mon, 26 Oct 2009 18:05:56 +0000 (18:05 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Jul 2012 16:07:36 +0000 (12:07 -0400)
git-svn-id: svn://nox.esilibrary.com/migration-tools@621 eee7cc8d-164e-4af6-8e1b-092a69004917

unicorn/unicorn_patrons_to_tsv.pl

index 18c5a9e..6960d49 100755 (executable)
@@ -25,6 +25,11 @@ while (<>) {
                next;
        }
 
+       # Is this a FORM= line (which can be ignored)?
+       if ( /^FORM=/ ) {
+               next;
+       }
+
        # If this isn't the start of the new record, it's a new line in the present record.
        $line++;