19 ms·
When breaking a pipe into two lines, I find it cleaner to end the first line with pipe instead of backslash. Then I indent the second line. Bash knows a command
by assafmo 8y ago
When breaking a pipe into two lines, I find it cleaner to end the first line with pipe instead of backslash. Then I indent the second line. Bash knows a command cannot end with pipe, therefore it's syntactically ok.
E.g.
cmd1 |
cmd2
Instead of:
cmd1 \
| cmd2
- deleted 8y ago[deleted]
- hi41 8y agovery nice!