Re:Introducing nushell
by pitaj on Friday August 23, 2019 @08:54PM
(#20784373)
Naw its chief crime is not having `&&`
[ Parent
| on HN ]
Im speaking from a position of naivete, so dont attack me;
Would an ideal situation be “do + while”
Whereas one may write
While x is true do “blah blah” && if output is still true then end elif do &&?
Or is that basically how it already works and we just have shitty interactions with the machines to get them too do the above (unless youre a more seniorbash person ((its one of my career regrets that i didnt spend a ton of time bash scripting)))
There are ways around it but nothing as easy as `&&` in other shells