home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!news.u.washington.edu!carson.u.washington.edu!micah
- From: micah@carson.u.washington.edu (Micah Anderson)
- Newsgroups: comp.unix.shell
- Subject: if syntax
- Summary: what is wrong with this syntax?
- Keywords: if, csh
- Message-ID: <1992Nov5.230024.14504@u.washington.edu>
- Date: 5 Nov 92 23:00:24 GMT
- Article-I.D.: u.1992Nov5.230024.14504
- Sender: news@u.washington.edu (USENET News System)
- Organization: University of Washington
- Lines: 14
-
- Am I stupid or what? I cannot figger out why the hell this does this...
- I made a simple script (in order to demonstrate a harder problem...)
-
- #! /bin/csh -f
- if test -s testes then
- echo "yes"
- endif
- end
-
- when I try to run it I get:
- if: Expression syntax.
-
- what the hell do I do? I have been beating my brains out over this simple
- friggin' thing...
-