Forum Discussion
Altera_Forum
Honored Contributor
21 years agosh doesn't work ?
Hi, All I want use shell script , but script does'nt work. It seems '[' character reading fail. Does anybody have a those things and know about how to fix it? My problem shel...
Altera_Forum
Honored Contributor
21 years agoTry:
if test $# -ne 2; then echo wrong. exit fi It's an alternate way of writing the same script and while I haven't tested it under Nios II Linux, I'm reasonably confident it should work.