Skip to content

Commit

Permalink
Update docs/language/operators/debug.md
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Rzewski <[email protected]>
  • Loading branch information
mattnibs and philrz authored Aug 6, 2024
1 parent 879a9d4 commit 243e77d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/language/operators/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ complex Zed query.

### Examples

The following query:
The following query uses expressions containing [f-strings](../expressions.md#formatted-string-literals)
to display `"debug: foo"` on stderr whereas `"foo_bar"` will display
on stdout.
```
echo '"foo"' | zq -z 'debug f"debug: {this}" | yield f"{this}_bar"' -
```
will display `"debug: foo"` on stderr whereas `"foo_bar"` will display
on stdout.

0 comments on commit 243e77d

Please sign in to comment.