Skip to content

Commit 4d81952

Browse files
authored
Merge pull request #277 from ehuss/fix-diagnostic-grep
Fix script example for diagnostic grepping
2 parents 7bddf3a + cf8e513 commit 4d81952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/src/examples/diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ echo "$OUTPUT"
2424
# This indicates a regression when the text "non-ASCII" is in the output.
2525
#
2626
# If the regression is when the text is *not* in the output, remove the `!` prefix.
27-
! grep "non-ASCII" "$OUTPUT"
27+
! echo "$OUTPUT" | grep "non-ASCII"
2828
```
2929

3030
Then run something like:

0 commit comments

Comments
 (0)