Hi all, I'm trying to write a hush script with expr command and cat command but it doesn't work.
I posted my script:
#!/bin/hush
A= `cat /proc/driver/typeboard/BoardAddr`
C= expr $A \* 2
D= expr $B -1

this is the optput

hush: cannot exec '`cat': No such file or directory
expr: syntax error
expr: syntax error


Thanks!
Fabio

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to