Skip to content

Document uniq CRLF final-line caveat - #47

Merged
Leonard Hecker (lhecker) merged 1 commit into
microsoft:mainfrom
caomengxuan666:winuxcmd/document-uniq-crlf-caveat
Jun 8, 2026
Merged

Document uniq CRLF final-line caveat#47
Leonard Hecker (lhecker) merged 1 commit into
microsoft:mainfrom
caomengxuan666:winuxcmd/document-uniq-crlf-caveat

Conversation

@caomengxuan666

Copy link
Copy Markdown
Contributor

Fixes #43.

Documents the CRLF case where byte-oriented utilities can still observe the carriage return. In particular, uniq may treat a final line without a trailing newline as different from the preceding duplicate when the input uses CRLF line endings.

This keeps the existing byte-stream behavior and clarifies the Windows caveat instead of changing uniq comparison semantics.

@lhecker Leonard Hecker (lhecker) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@lhecker
Leonard Hecker (lhecker) merged commit 3eab372 into microsoft:main Jun 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants