From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,3d82bbe2e5b74cc6 X-Google-Attributes: gidfa528,public From: Keith Benoit Subject: Re: Help with 'setld' subset control programs? Date: 2000/05/09 Message-ID: <391887D0.B07949E1@carolina.rr.com>#1/1 X-Deja-AN: 621305206 Content-Transfer-Encoding: 7bit References: <39174325.9DC0E581@carolina.rr.com> <8f7uvf$pq3$1@newsflash.concordia.ca> X-Accept-Language: en X-Sender: "Keith Benoit" (Unverified) Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rr.com X-Trace: typhoon.southeast.rr.com 957909569 24.93.88.70 (Tue, 09 May 2000 17:59:29 EDT) Organization: RoadRunner - Carolina MIME-Version: 1.0 NNTP-Posting-Date: Tue, 09 May 2000 17:59:29 EDT Newsgroups: comp.unix.tru64 Steven, Thanks for your suggestion. I had already carefully (no, really! :-) inspected my script for mismatched quotes, if/fi do/done case/esac pairs, missing syntax, etc. My request for help was to see if anyone knew of problems peculiar (and most likely undocumented) to the 'setld' installation utility. As it turns out, the problem was solved when I cut out each section of the case statement to a separate file, and then copied/pasted the parts back into the main script. Apparently, there was an escape sequence or control character embedded in the body of the script, somewhere. It's running fine, now. Thanks again, Keith Steven Winikoff wrote: > > In <39174325.9DC0E581@carolina.rr.com> Keith Benoit writes: > > >"/var/tmp/stltmp23623/STMAPI620.scp: syntax error at line 393: > >'end of file' unexpected" > > This is typically what happens when a shell script contains a construct > that is opened but not closed (eg, a missing quotation mark, an if > statement without a matching "fi", a for loop or while loop without a > matching "done", etc.). > > That doesn't mean it will be easy to find, but that's what I'd suggest > looking for. > > - Steven > ________________________________________________________________________ > Steven Winikoff | > Concordia University | > Montreal, QC, Canada | There's an exception to every rule, > smw@alcor.concordia.ca | except this one. > http://alcor.concordia.ca/~smw |