diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-26 13:02:51 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-26 13:02:51 +0100 |
commit | 84ebea9479398b5600a592b478556af04779ae39 (patch) | |
tree | d43444494981b339f4f0faff5ed0fae06ed9001e /bin/hafas-m | |
parent | 287036adfed2b057bc69ec7b414e9de1126c6bb8 (diff) |
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-x | bin/hafas-m | 4 |
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 = [ |