Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!YALE.ARPA!hanks-steven From: hanks-steven@YALE.ARPA (Steven Hanks) Newsgroups: comp.sys.apollo Subject: shell scripts, boolean variables, and eon Message-ID: <8803241941.AA09455@ELI.CS.YALE.EDU> Date: 24 Mar 88 19:41:56 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 45 executing the following shell script produces weird results: #!/com/sh eon truevar := true falsevar := false if ^truevar then args "yes" else args "no" endif if not ^truevar then args "yes" else args "no" endif if ^falsevar then args "yes" else args "no" endif if not ^falsevar then args "yes" else args "no" endif args "" if ((^truevar)) then args "yes" else args "no" endif if ((not ^truevar)) then args "yes" else args "no" endif if ((^falsevar)) then args "yes" else args "no" endif if ((not ^falsevar)) then args "yes" else args "no" endif || VV yes no yes <--- site of weirdness no <--- site of weirdness yes no no yes it looks to me like eon isn't working correctly. though taking it out generates the expected "name not found" error message. or maybe i'm missing something........ any ideas? steve. hanks@cs.yale.edu ....!decvax!yale!hanks -------