projects
/
crossbi-get
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remote cl/lf from values
[crossbi-get]
/
get.pl
diff --git
a/get.pl
b/get.pl
index
54f9994
..
1197f2f
100755
(executable)
--- a/
get.pl
+++ b/
get.pl
@@
-31,7
+31,9
@@
while(<>) {
foreach my $item ( @{ $json->{items} } ) {
warn "## item = ",dump( $item );
foreach my $col ( @columns ) {
foreach my $item ( @{ $json->{items} } ) {
warn "## item = ",dump( $item );
foreach my $col ( @columns ) {
- push @$row, $item->{$col};
+ my $d = $item->{$col};
+ $d =~ s/[\r\n\s]+/ /gs;
+ push @$row, $d;
}
}
}
}