Bug 9288: (follow-up) use specified terminator for both input and output
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 8af35f89ba)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
bb2874c304
commit
4003f9f884
|
|
@ -49,6 +49,9 @@ if ( $help
|
|||
|
||||
$terminator = ( $terminator eq 'CR' ) ? $CR : $CRLF;
|
||||
|
||||
# Set perl to expect the same record terminator it is sending
|
||||
$/ = $terminator;
|
||||
|
||||
my ( $sec, $min, $hour, $day, $month, $year ) = localtime(time);
|
||||
$year += 1900;
|
||||
my $transaction_date = "$year$month$day $hour$min$sec";
|
||||
|
|
|
|||
Loading…
Reference in New Issue