summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/hafas-m4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index ae1ffca..5022a3a 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -384,7 +384,7 @@ if ( $opt{journeyMatch} ) {
for my $result ( $status->results ) {
my $start = ( $result->route )[0];
my $end = ( $result->route )[-1];
- say $result->id;
+ say $result->id =~ s{ }{}gr;
print $result->name;
if ( $result->number ) {
printf( " | Nr %s", $result->number );
@@ -646,7 +646,7 @@ else {
}
if ($show_jid) {
- $info_line = $d->id . ' ' . $info_line;
+ $info_line = $d->id =~ s{ }{}gr . ' ' . $info_line;
}
my $entry = [