Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!apple!agate!shelby!neon!kamens From: kamens@Neon.Stanford.EDU (Samuel N Kamens) Newsgroups: comp.unix.questions Subject: csh question Message-ID: <1989Nov13.014412.24735@Neon.Stanford.EDU> Date: 13 Nov 89 01:44:12 GMT Sender: USENET News System Reply-To: kamens@Neon.Stanford.EDU (Samuel N Kamens) Distribution: usa Organization: Computer Science Department, Stanford University Lines: 25 Hi all! I am trying to write a csh shell that looks like this (with names changed to protect the innocent) if ($1 == foo) then /usr/ucb/talk foo@bar else /usr/ucb/talk $1 endif When I run it, I get an error (error: end of file unexpected). It's probably something really silly, but could someone tell me why this is wrong? Thanks, Sam Kamens | "How do you know she is a witch?" kamens@neon.stanford.edu | "She looks like one!!" -- Sam Kamens | "How do you know she is a witch?"