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

 
 

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

Submitter:  None
Submitted:  Tue 11 May 2021 10:01:21 AM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 26 Dec 2021 10:58:57 PM UTC, comment #2: 

Fixed in [01228bfa41b].

Ole Tange <tange>
Group administrator
Thu 13 May 2021 11:36:04 AM UTC, comment #1: 

This should work if possible:

    seq 5 | sem --fg wc

Ole Tange <tange>
Group administrator
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.

Anonymous

 

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

    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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-26 tange StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2021-05-13 tange Severity3 - Normal 2 - Minor
        StatusNone Confirmed
        Assigned toNone tange

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code