On Thu, May 24, 2012 at 12:18 PM, David Korn <[email protected]> wrote: > cc: [email protected] > Subject: Re: [ast-users] [ksh93] foo.ksh: line 121: syntax error at line 141: > `}' unexpected -- How to understand the 121 number? > -------- > > >> $ ksh -n foo.ksh >> foo.ksh: syntax error at line 141: `}' unexpected >> $ ksh -x foo.sh >> foo.ksh: template.ksh: line 121: syntax error at line 141: `}' unexpected >> $ >> > > It looks like it should be 128 since that is where the {...} > construct begins.
I saw this kind of error messages for several times. I thought the first line number would tell me something important but it did not. It's only confusing. > > It isn't until 141 that the code has an error. > > David Korn > [email protected] _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
