Re: shell : is syntax checking via option -n really working ?
On Monday 25 June 2007 17:13:06 Mathias Brodala wrote:
> Hi Bruno. > > Bruno Costacurta, 25.06.2007 17:04: > > Hello, > > as I ckeck a script via 'sh -n <file>' I receive the syntax error > > > > listserver.tcl: 31: Syntax error: "else" unexpected (expecting "then") > > > > However syntax looks good and script execution is fine. > > But itâs an TCL script and not a shell script? How do you expect the normal > shell to understand this script and its syntax? > > > Regards, Mathias
Well...indeed...sorry for my confusion.
Bye,
Bruno
--
PGP key ID: 0x2e604d51
Key server: hkp://subkeys.pgp.net
Key fingerprint = 713F 7956 9441 7DEF 58ED 1951 7E07 569B 2E60 4D51
--
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: stored
Received on Mon Jun 25 11:20:36 2007
This archive was generated by hypermail 2.1.8
: Mon Jun 25 2007 - 11:30:02 EDT
|