On Sat, Oct 15, 2011 at 1:29 AM,  <[email protected]> wrote:
> Hello again;

Please use the [email protected] mailing list. That way others may be
able to both answer your questions and learn from them, too.

> I was just exercising the code, and came across something that appears
> to be strange:
>
> # Version 20110622:
> $ parallel echo '{//}' ::: test/one test/. test/ test
> .
> test
> test
> .
>
> # Version 20110822:
> $ parallel echo '{//}' ::: test/one test/. test/ test
> test
> test
> .
> .
>
> I'm glad 'test/one' works correctly now (=test), but wouldn't it make
> sense for 'test/' to have a dirname of 'test'?

Read the manual for -k and {//} of parallel, and the man page for the
UNIX command dirname.

Then try:

  parallel -k dirname {} ::: test/one test/. test/ test

If that does not answer your question, please elaborate your question further.

/Ole

Reply via email to