Skip to content
Snippets Groups Projects
Commit 298b2ef9 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- fixed replacement for internal headings

parent 71badd81
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ sub print_results($headers_ref, $result_ref) {
binmode(STDOUT, ':encoding(UTF-8)');
say join(",", map {
my $l = $_;
$l=~s/_//;
$l=~s/^_//;
$l=~s/(.*)/"$1"/;
$l;
} @{$headers_ref});
......
......@@ -18,7 +18,7 @@ sub print_results($header_ref, $result_ref) {
binmode(STDOUT, ':bytes');
print join(CHR_VALUE_TERMINATOR, map {
my $l = $_;
$l =~ s/_//;
$l =~ s/^_//;
$l;
} @{$header_ref}) . CHR_VALUE_TERMINATOR;
print CHR_ROW_TERMINATOR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment