projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
cd71ce7
)
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
Kyle M Hall
<kyle@bywatersolutions.com>
Wed, 13 Aug 2014 18:39:06 +0000 (14:39 -0400)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit
8af35f89badacaf025226811c233f2cf44554910
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit
4003f9f88470673d19e204f435fa2385f5bd3492
)
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";