diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-03-31 16:50:03 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-03-31 16:50:03 +0200 |
commit | 0c57f93284293bca09c7e6ee54f0139cc5715afb (patch) | |
tree | 3ceab29a283e7c65dce7659671d53084e89ad473 /bin | |
parent | 6b575af0e63f4df5d6dd5e217aa2e7ae3bc114ed (diff) |
Add BART service
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hafas-m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/hafas-m b/bin/hafas-m index ac14110..8bed8e5 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -163,9 +163,11 @@ sub parse_mot_options { if ($desc) { for my $mot ( @{ $desc->{productbits} } ) { if ( ref($mot) eq 'ARRAY' ) { - printf( "%-10s %s\n", @{$mot} ); + if ( $mot->[0] ne '_' ) { + printf( "%-10s %s\n", @{$mot} ); + } } - else { + elsif ( $mot ne '_' ) { say $mot; } } |