[ale] Anyone want to crtique a shell script?
Alex Carver
agcarver+ale at acarver.net
Sun Apr 12 20:31:21 EDT 2015
On 2015-04-12 16:36, Leam Hall wrote:
> Comments in-line.
>
> On 04/11/15 18:37, Alex Carver wrote:
>> First, a lot of your statements are missing semicolons. You'll need
>> those or bash will complain.
>
> Haven't seen it choke yet. Do you see any edge cases I'm not thinking
> about?
Usually it starts to show up when control structures are nested. You
can end up with a case where the control structure follows an undesired
logic flow. I just do it explicitly so I don't have to think about
introducing possible hierarchical errors and others can read it later.
More information about the Ale
mailing list