Addition in bash

Derek Broughton derek at pointerstop.ca
Wed Oct 14 17:39:06 UTC 2009


David N. Lombard wrote:

> 
>>> Minutes=0;
> 
> The semicolon is extraneous.  Don't program bash in C.

if it's really extraneous, why is it permitted?  I used to write javascript 
without semicolons, too.  Now I find myself being screwed up in JSP pages 
where semicolons are required.  I would have said "Don't program javascript 
in java..."

-- 
derek





More information about the ubuntu-users mailing list