On Thu, 20 Oct 2022 at 15:16, Christopher Fredén <
me@icetan.org> wrote:
>
> Hello,
>
> When I run `parallel -S
hello_you.com echo {} ::: hej` for example.
>
> I get the following output:
>
> ```
> parallel: This should not happen. You have found a bug. Please follow
>
https://www.gnu.org/software/parallel/man.html#REPORTING-BUGSIndeed. The newest version 20220922 has the same bug.
The fix is to add an underscore to line 6906 like this:
$ diff -u parallel-20220922/src/parallel parallel
--- parallel-20220922/src/parallel 2022-09-22 19:45:38.000000000 +0200
+++ parallel 2022-10-21 12:09:43.550062334 +0200
@@ -6903,7 +6903,7 @@
}
# [server]:port
- if($s =~ s/([-a-z0-9.]+)//i) { $host = $1; }
+ if($s =~ s/([-a-z0-9._]+)//i) { $host = $1; }
# [:port]
if($s =~ s/:(\w+)//i) { $port = $1; }