| ▲ | lucideer 4 hours ago | |||||||
I've read through all of the examples in the article & they all seem to serve to sole purpose of turning readable multiple line code into one-liners. One-liners are a cool little artifact of early shell culture & are sometimes still useful today if they're short to avoid the readability problems of `/` when copy pasting a quick shell command to run, but they have no place in scripts. None of this seems useful to me. > if you are like me and prefer less typing (gotta go fast) Yeah, no. | ||||||||
| ▲ | brabel 4 hours ago | parent [-] | |||||||
Bash scripts should only be used for quick and dirty tasks where brevity is a major benefit. Don’t pretend bash can be readable and maintainable. If you want that use another language that sacrifices brevity for clarity. | ||||||||
| ||||||||