bugGNU Parallel - Bugs: bug #54350, Documentation says --round-robin...

 
 

bug #54350: Documentation says --round-robin implies --pipe, but it does not.

Submitter:  Darsey Litzenberger <dlitz>
Submitted:  Sun 22 Jul 2018 11:17:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 22 Jul 2018 11:26:32 PM UTC, comment #1: 

See also bug #54351.

Darsey Litzenberger <dlitz>
Sun 22 Jul 2018 11:17:42 PM UTC, original submission:  

Version: parallel-20180722

The man page for parallel says:


 --round-robin implies --pipe, except if --pipepart is given.


However, the behavior of `parallel --round-robin` differs from `parallel --round-robin --pipe`.


$ sha256sum -b src/sem* | tee /tmp/sha256sums
28ade1c60e8b98188eae26b4a9c4e8c94dcf84a46ab40b2f0490256b9a53de80 *src/sem
98ab4a6cbaebcc8b0390e49f641921e35af3278c65f2f339efaae632f3277a03 *src/sem.1
0d2969ee742c1a14113a52efee198fcc8d27993b3d939e4452aab01ca01cc467 *src/sem.html
699a57f07993e70c6901d3879bb9ba1bbca9ddc70e4191defc3500a0c45df7c9 *src/sem.pdf
e5178b7bf47ec5134de2194ea59b4f69c62799073c45893b3099ae9f17b12f66 *src/sem.pod
3fd5f16a96ccd92a902f88a7b869b405324909c2f8cbc6a52eef078af9f48267 *src/sem.texi
$ cat /tmp/sha256sums | parallel --pipe --round-robin sha256sum -c
src/sem: OK
src/sem.1: OK
src/sem.html: OK
src/sem.pdf: OK
src/sem.pod: OK
src/sem.texi: OK
$ cat /tmp/sha256sums | parallel --round-robin sha256sum -c
sha256sum: '28ade1c60e8b98188eae26b4a9c4e8c94dcf84a46ab40b2f0490256b9a53de80 *src/sem': No such file or directory
sha256sum: '98ab4a6cbaebcc8b0390e49f641921e35af3278c65f2f339efaae632f3277a03 *src/sem.1': No such file or directory
sha256sum: '0d2969ee742c1a14113a52efee198fcc8d27993b3d939e4452aab01ca01cc467 *src/sem.html': No such file or directory
sha256sum: '699a57f07993e70c6901d3879bb9ba1bbca9ddc70e4191defc3500a0c45df7c9 *src/sem.pdf': No such file or directory
sha256sum: 'e5178b7bf47ec5134de2194ea59b4f69c62799073c45893b3099ae9f17b12f66 *src/sem.pod': No such file or directory
sha256sum: '3fd5f16a96ccd92a902f88a7b869b405324909c2f8cbc6a52eef078af9f48267 *src/sem.texi': No such file or directory
$


It's not clear what parallel --round-robin without --pipe is doing.

Darsey Litzenberger <dlitz>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dlitz (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code