11 May
1999
11 May
'99
12:25 p.m.
hi frank i'm not a bash expert either: it took me 2 hours to come up with the following enter the following 6 lines of code in a file called test #!/bin/sh if [ $1 = $2 ]; then echo "ok" else echo "oops" fi next, chmod 777 test then try it: ./test 1 1 and ./test 1 2 now go back and change the = to == and try it and you get ./test: [: ==: binary operator expected oops note: bash is from slakware 3.5 thanks russ
9960
Age (days ago)
9960
Last active (days ago)
0 comments
1 participants
participants (1)
-
Russ Whitaker