Skip to content

modernize cat#29

Merged
AdamIsrael merged 9 commits intomainfrom
cat
Mar 30, 2026
Merged

modernize cat#29
AdamIsrael merged 9 commits intomainfrom
cat

Conversation

@AdamIsrael
Copy link
Copy Markdown
Owner

Modernize the cat cli, add tests, squash bugs, and fix feature parity with GNU cat.

Switch to the modernized CLI
Fix some bugs with squeeze-lines, add tests to cover the bug and change.
Add return code when process exits
Rename variable to better describe its function
Hide the `output` argument, since it doesn't make sense for `cat` to do
anything but output the raw (plain) output.
Add more tests, which also uncovered a bug where byte 255 with -v was
outputting raw M-\x7F instead of M-^?.
@AdamIsrael AdamIsrael merged commit a1957d2 into main Mar 30, 2026
8 checks passed
@AdamIsrael AdamIsrael deleted the cat branch March 30, 2026 00:23
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.

1 participant