bugGNU Parallel - Bugs: bug #63386, --latest-line redirect

 
 

bug #63386: --latest-line redirect

Submitter:  None
Submitted:  Sat 19 Nov 2022 12:48:39 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
   

Mon 21 Nov 2022 10:48:27 AM UTC, comment #1: 

This requires that print() can be different for stdout/stderr.

Maybe something like:

    for $fdno {
      $job->{print}{$fdno}()
    }

and then have specialized subs for each type of print.

Anonymous
Sat 19 Nov 2022 12:48:39 PM UTC, original submission:  

If stdout redirected: send stdout to stdout.

If stdout == tty: send stdout to stderr.

Should output be --linebuffer or --group? Maybe just depend on if --linebuffer/--group is set.

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

 

CC list is empty

 

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-269c.
Corresponding source code