![]() |
|
|||||||
| Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
|
Thread Tools | Display Modes |
|
|||
|
So I am trying to convert my bash script into ksh, and this is what I have in the file so far:
Code:
#!/bin/ksh
login()
{
if [ "$ALPHA" = "" ]
then
sendcmd BETA
else
sendcmd "$(xxd -c 32 -g 0 ${ZETA_ZETA} | awk '{print $2}')"
fi
}
Code:
$ ./test.sh
./test.sh[3]: syntax error: `(' unexpected
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Blind install ? | sharris | FreeBSD General | 2 | 31st October 2010 11:29 AM |
| shc unistd.h:239: error: syntax error before '&' token | laraaj | OpenBSD General | 3 | 11th September 2010 07:21 AM |
| Unexpected Change of owner:group in file system | Dotiroygsbre | Other BSD and UNIX/UNIX-like | 0 | 15th August 2008 04:09 PM |
| Syntax Highlighting | JMJ_coder | Programming | 17 | 22nd June 2008 02:24 PM |
| relayd (and hoststated) give syntax error for 'check script' | gwl | OpenBSD Security | 2 | 2nd May 2008 04:53 PM |