|
|
|
|
|
by seorphates
2323 days ago
|
|
Not to be that guy but this is mostly garbage. I suggest simply paying attention and testing. Switches can be a useful part of the tool but they can break things. It doesn't make things better rather it alters behaviors of the shell in sometimes unintended ways. Try some loops with some -eo. If you have a pipe that fails your script you're just ripping the heart and potential out of your script. I think you might just be looking for one-liners. It can be good to catch your failures and try other things vs "woop, damn, nope." Maybe you need things to fail first. "Quote liberally" - also ripe. Mind your aPostrophes and Quotes because they do things. I like writing for me and what I need done, not what or how others might have me write or how others might think it should be done. The shell is a base orchestration and interface tool for your os. If you think it's just that bad then just stick to your language of choice but please refrain from suggesting lazy habits make a better shell, they don't. Fly your own kite. It's much more fun. |
|