Ah, good point, uname! I obtained the version I reported from the
cygwin.exe file properties. The version I get through uname is
$ uname -a
CYGWIN_NT-10.0 hostname 3.0.6(0.338/5/3) 2019-04-06 16:18 x86_64 Cygwin
On 05-Mar-20 19:58, Geoffrey Cleaves wrote:
Maybe the problem is that I'm using a *newer* version?
$ uname
CYGWIN_NT-10.0
I'll try your version and report back.
On Thu, Mar 5, 2020 at 7:47 PM Diomidis Spinellis <[email protected]
<mailto:[email protected]>> wrote:
I cannot replicate the problem in Cygwin 0.8.1
$ parallel -k echo ::: A B C
parallel: Warning: $SHELL not set. Using /bin/sh.
A
B
C
$ SHELL=/bin/bash parallel -k echo ::: A B C
A
B
C
$ SHELL=/bin/sh parallel -k echo ::: A B C
A
B
C
Could you be using a non-standard shell or an older version of Cygwin?
--
Diomidis Spinellis
Free edX MOOC on Unix Tools: Data, Software, and Production Engineering
https://www.spinellis.gr/unix?pgo20200305
On 05-Mar-20 18:43, Geoffrey Cleaves wrote:
> Hello, I have been an avid user of parallel on Mac OS and Linux
over the
> last 5 years. But I now find myself using Windows with the following
> problem when trying to run parallel in Cygwin.
>
> $ parallel -k echo ::: A B C
> sh: -c: option requires an argument
> sh: -c: option requires an argument
> ... never stops
>
> $ parallel --version , however, works just fine.
>
> Any tips on how to fix this?