looks like you don't have the "cat" command on your system. -Erwin
Am Mittwoch, den 14.10.2009, 11:08 +0200 schrieb Cappelletti Fabio: > Hi all, I'm tying to write a simple hush script , but I have a lot of > problem with two commands : expr and cat! > In particula my script is as follow: > #!/bin/hush > A= `cat /proc/driver/cardtype/BoardAddr` > B= `expr $A \* 2` > C= `expr $B -1` > echo $B > echo $C > > but this is the output: > 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 -- Dipl.-Ing. Erwin Authried Softwareentwicklung und Systemdesign _______________________________________________ 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