Commit d569a26
fix(docs): guard the checksum verification example against a grep miss
A grep miss piping empty input into the checker isn't safe to skip -
sha256sum -c - (the Linux equivalent) exits 0 on empty input, so a
typo'd filename would silently "pass" without checking anything at
all. Guard with grep -q ... && first. Also trims the accompanying
footnote back down to the platform-command difference alone - the
rationale belongs here in the commit message, not as an implementation
essay in the Readme itself.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent db79256 commit d569a26
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments