Skip to content

Commit 7a0e222

Browse files
committed
Fix last xxd prose reference in safe-editing.md
what: - Replace 'Verify the result with xxd' with 'Verify with od -A x -t x1z | grep 5c' in safe-editing.md prose why: The code blocks already use od instead of xxd but the prose instruction still referenced the old Linux-only tool. The explanatory note about xxd not being available everywhere is kept as-is — it documents why od was chosen.
1 parent f92e4d2 commit 7a0e222

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

skill/references/safe-editing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ content = content.replace(
3333
write_file("/path/to/file", content)
3434
```
3535

36-
Use raw strings `r'...'` so Python doesn't process the backslashes. Verify the result with `xxd`.
36+
Use raw strings `r'...'` so Python doesn't process the backslashes. Verify the result with `od -A x -t x1z | grep '5c'` (see Diagnostic below).
3737

3838
### 2. Second Resort: `sed -i` in Single Quotes
3939

0 commit comments

Comments
 (0)