bugGNU Parallel - Bugs: bug #60579, Sem: Allow reading from stdin and...


bug #60579: Sem: Allow reading from stdin and setting -a

Submitted by:  None
Submitted on:  Tue 11 May 2021 10:01:21 AM UTC  
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  Ole Tange <tange>
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 13 May 2021 11:36:04 AM UTC, comment #1: 

This should work if possible:

    seq 5 | sem --fg wc

Ole Tange <tange>
Project AdministratorIn charge of this item.
Tue 11 May 2021 10:01:21 AM UTC, original submission:  

Running sem -P1 -a /dev/stdin "read" results in the error

parallel: Error: A semaphore does not take input from neither stdin nor a file

Since sem only accepts one command to run, it seems that this is an arbitrary restriction. It would be very useful if commands could read from standard input.



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

Attach Files:

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 tange (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-13 tange Severity3 - Normal => 2 - Minor
        StatusNone => Confirmed
        Assigned toNone => tange

    Back to the top

    Powered by Savane 3.7