Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Use the magic variable `lines` for a list of rstripped lines or `stdin` for `sys

```sh
# pyp like wc -c
cat /usr/share/dict/words | pyp 'len(stdin.read())'
cat /usr/share/dict/words | pyp 'len(stdin.read().encode())'

# pyp like awk
seq 1 5 | pyp 'sum(map(int, lines))'
Expand Down