Skip to content

Use parameter -s in sort for compatibility between implementations - #53

Merged
gcbeltramini merged 1 commit into
mainfrom
gb/sort-param
Jul 15, 2026
Merged

Use parameter -s in sort for compatibility between implementations#53
gcbeltramini merged 1 commit into
mainfrom
gb/sort-param

Conversation

@gcbeltramini

Copy link
Copy Markdown
Owner

sort in macOS accepts -s, and GNU-sort accepts -s, --stable.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR improves cross-platform compatibility for the test helper script by switching from GNU sort --stable to the short -s flag, which is accepted by both GNU sort (-s, --stable) and macOS/BSD sort (-s).

Changes:

  • Replace sort --stable with sort -s when preparing input for comm in helper/test function comparisons.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gcbeltramini
gcbeltramini merged commit 34ea050 into main Jul 15, 2026
2 checks passed
@gcbeltramini
gcbeltramini deleted the gb/sort-param branch July 15, 2026 22:31
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