03-26-07 06:21 PM
In <1174912249.410129.74590@d57g2000hsg.googlegroups.com> "seema" <seema_com
a@yahoo.co.in> writes:
> It gives error with if: Expression Syntax. Can some body explain what
> is the problem here?
There are lots of different shells you can use for shell programming.
Unfortunately, they're all different, and have different syntax.
You seem to be using Bourne shell syntax, but you're executing the script
with tcsh, and the two don't mix.
So, you need to pick one or the other.
--
John Gordon A is for Amy, who fell down the stairs
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
[ Post a follow-up to this message ]
|