projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f52166
)
Bug 9288: (follow-up) use specified terminator for both input and output
author
Kyle M Hall
<kyle@bywatersolutions.com>
Fri, 20 Sep 2013 14:04:41 +0000
(10:04 -0400)
committer
Galen Charlton
<gmc@esilibrary.com>
Sun, 20 Apr 2014 20:09:18 +0000
(20:09 +0000)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
misc/sip_cli_emulator.pl
patch
|
blob
|
history
diff --git
a/misc/sip_cli_emulator.pl
b/misc/sip_cli_emulator.pl
index
708b1bb
..
dc8ce53
100755
(executable)
--- a/
misc/sip_cli_emulator.pl
+++ b/
misc/sip_cli_emulator.pl
@@
-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";