Skip to content

Commit c2e0cf4

Browse files
authored
Update thinking_in_nu.md (nushell#1825)
Make the jq-example have similar behaviour to the Nushell counterpart.
1 parent 68ba222 commit c2e0cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/thinking_in_nu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Nushell is both a programming language and a shell. Because of this, it has its
1515
For example, the following commandline works the same in both Bash and Nushell on Unix/Linux platforms:
1616

1717
```nu
18-
curl -s https://api.github.com/repos/nushell/nushell/contributors | jq '.[].login'
18+
curl -s https://api.github.com/repos/nushell/nushell/contributors | jq -c '.[] | {login,contributions}'
1919
# => returns contributors to Nushell, ordered by number of contributions
2020
```
2121

0 commit comments

Comments
 (0)