Skip to content

Instantly share code, notes, and snippets.

@pawamoy
Created May 10, 2019 17:24
Show Gist options
  • Save pawamoy/cca35f0f5ccd56665d6421e9b2d2d4bc to your computer and use it in GitHub Desktop.
Save pawamoy/cca35f0f5ccd56665d6421e9b2d2d4bc to your computer and use it in GitHub Desktop.
LINENO in Bash and ZSH
echo $(
# comment
echo "hello" \
"world" \
"thanks" | # comment
cat | ( # comment
# comment
cat -n # comment
) | cat && # comment
echo bye
)
@pawamoy
Copy link
Author

pawamoy commented May 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment