home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!byron.u.washington.edu!sue
- From: sue@byron.u.washington.edu (Shu-Chen Eclipse)
- Newsgroups: comp.unix.questions
- Subject: stupid question from a neophyte user
- Message-ID: <1992Jul27.194816.3335@u.washington.edu>
- Date: 27 Jul 92 19:48:16 GMT
- Sender: news@u.washington.edu (USENET News System)
- Organization: University of Washington, Seattle
- Lines: 23
-
- how the hec do I get something simple like this to work:
-
- If ($TERM
- !== "sun" || $TERM!== "sun-cmd")
- then .........
- endif
-
- in csh ????
-
- it keeps giving all kinds of errors?!! If I caps If, it gives me one kind, if
- i lower case if, gives me another set-- why in sam's whatchamacallit should
- "if" be case sensitive. Do I put "then" on the 1st line? do I put then on the
- 2nd line? do I preced then with a ";" (in sh? I've seen it both ways);
- do I put "" around "$TERM"? do I use != or !== or ~==?? is the ( ) test above
- case sensitive? should I upcase/lowercase term and sun before comparing them?
-
- why is unix so complicated compared to vms dcl-- now that's a script language,eh?
- thanx for answering,
- frustrated at being forced to use unix instead of vms,
- sue@byron.u.washington.edu
- AND ALSO THIS INSANE VI EDITOR!!!!
-
- ... my gawd --IT'S CASE SENSITIVE--WHAT JUNK!!
-