summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-28 14:41:06 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-28 14:41:25 +0200
commitef60238fcf3508e69fcb0259fc34154c4de0c2c8 (patch)
tree03a438bd7c8bd8ab7bc2ca98eb6dc30c5e0264f7
parent69c8819c8d3ace1e3b601c2541688e5ca945c8c2 (diff)
Looks like the backend does not care about missing spaces in stateless IDs
This makes them much easier to copy-paste. Nifty!
-rwxr-xr-xbin/efa-m4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/efa-m b/bin/efa-m
index eb78069..bb5b803 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -424,8 +424,8 @@ sub show_results {
if ($show_jid) {
$output_line[2] .= sprintf( ' %s@%d(%s)%d',
- $d->stateless, $d->stop_id,
- $d->sched_datetime->strftime('%Y%m%d'), $d->key );
+ $d->stateless =~ s{ }{}gr,
+ $d->stop_id, $d->sched_datetime->strftime('%Y%m%d'), $d->key );
}
if ( $edata{route} ) {