diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-10-23 20:27:50 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-10-23 20:27:50 +0200 |
commit | a7942591cfacde1e9c70b49a2347e24fd389ba01 (patch) | |
tree | ef16f6360fa7509a8301045744666472b27858a8 /bin/hafas | |
parent | 407c2a34ed319ba97b8771959b60b0154cee24df (diff) |
hafas: Handle _ in mot array
Diffstat (limited to 'bin/hafas')
-rwxr-xr-x | bin/hafas | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -170,7 +170,9 @@ sub parse_mot_options { my @mots = @{ $desc->{productbits} }; 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 { say $mot; |