$ echo "pypipe" | ppp "line[::2]"
ppp
This is an incredibly confusing first example! $ echo "pypipe" | ppp "line[::2]"
ppp
This is an incredibly confusing first example!Also, just to make sure we're on the same page:
The command `ppp` (found somewhere in PATH, unless it's a shell function or an alias, but we believe it's a symlink to `pypipe.py`) receives `pypipe\n` on stdin, sets a variable named `line` to `pypipe`, uses the slice notation to convert that to `ppp` and then prints `ppp\n` to stdout.