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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

No changes have been made to this item

Back to the top

Powered by Savane 3.16.
Corresponding source code