On 5/15/06, Anil Gupte <[EMAIL PROTECTED]> wrote:
BlankHi all:

what am I doing worng here?  Here is my script:
[...]
count=$(#check)
  count=${#check}

With parentheses, the shell is interpreting "#check" as a command,
which is a commented-out line.  With braces, it's a parameter
evaluation.

I haven't checked if anything else in the script is incorrect.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com

Reply via email to