From: Bill Erickson Date: Fri, 28 Sep 2012 14:40:08 +0000 (-0400) Subject: make it tolerant to edi w/ newlines (which is easier to read) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f462fc3e8b1ff7564784c50a8620840e2cff1b49;p=evergreen%2Fequinox.git make it tolerant to edi w/ newlines (which is easier to read) Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/support-scripts/test-scripts/edi_parser.pl b/Open-ILS/src/support-scripts/test-scripts/edi_parser.pl index c92991dd3d..32f32f0a0b 100644 --- a/Open-ILS/src/support-scripts/test-scripts/edi_parser.pl +++ b/Open-ILS/src/support-scripts/test-scripts/edi_parser.pl @@ -8,6 +8,8 @@ open(EDI_FILE, $edi_file) or die "Cannot open $edi_file: $!\n"; my $edi = join('', ); close EDI_FILE; +$edi =~ s/\n//g; + # could store regex's as constants instead of inline.. my $INV_IDENT_RE = '^BGM\+380\+(.*)\+.*';