Skip to content

Conversation

cakebaker
Copy link
Contributor

This PR changes the output order from "files first, stdin last" to "input order = output order" to match the behavior of GNU nl.

Copy link
Member

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why that behavior was there in the first place. But this is much better!

@tertsdiepraam tertsdiepraam merged commit 4ca792d into uutils:main Sep 24, 2023
@cakebaker cakebaker deleted the nl_fix_output_order_if_stdin_and_files_are_mixed branch September 24, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants