Repository navigation
Make the debug tutorial's seq examples count correctly on macOS - #106
Merged
Merged
Conversation
macOS seq writes 1000000 as 1e+06 by default and prints it twice, so the examples counted 1000001 records. seq -f %.0f prints plain integers on both macOS and GNU seq. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SuperDB v0.4.0 removed the jsup format, so super no longer recognizes the extension. The contents are SUP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The two streaming examples in
docs/tutorials/debug.mdpipeseq 1 1000000intosuper. On macOS,seqwrites 1000000 as1e+06by default and prints it twice, so the examples count 1000001 records instead of 1000000 (they pass on Linux CI, which uses GNUseq).seq -f %.0fprints plain integers. On macOS its output is byte-identical toawk 'BEGIN{for(i=1;i<=1000000;i++)print i}'. This PR's CI run checks GNUseqwith the flag.seq -f %.0f 1 1000000, with a sentence explaining the flag-i sup; checked on macOS)npm run test:docson macOS with super v0.4.0: 71 passed, 0 failed (was 69/71).🤖 Generated with Claude Code