projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0730b5c
)
correct handling of non-unix line termination
author
jeff
<jeff>
Tue, 3 Apr 2007 19:37:11 +0000
(19:37 +0000)
committer
jeff
<jeff>
Tue, 3 Apr 2007 19:37:11 +0000
(19:37 +0000)
httemplate/misc/cust_main_note-import.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/cust_main_note-import.cgi
b/httemplate/misc/cust_main_note-import.cgi
index
690ca78
..
b93c5c1
100644
(file)
--- a/
httemplate/misc/cust_main_note-import.cgi
+++ b/
httemplate/misc/cust_main_note-import.cgi
@@
-122,7
+122,7
@@
% my $line;
% my $row = 0;
% while ( defined($line=<$fh>) ) {
-%
chomp $line
;
+%
$line =~ s/(\S*)\s*$/$1/
;
% $line =~ s/^(.*)(#!).*/$1/;
%
% $csv->parse($line) or die "can't parse line: " . $csv->error_input();