hi guys
do you know if it's possible to run Korn Shell on OSX 10.2?
I have to do this ksh script: so far I have tried using sh and then zsh, but things are a bit different, and as this is my first go at shell scripting, it's all getting messy!
the main problem I found is:
I read into my shell script all data coming from sed script (which outputs a "column" of numbers - i.e each number on a separate line) and store them into an array; so far so good if i use #!/bin/sh but when I use #!/bin/zsh the script only reads in the first digit of each number....
so instead of getting
6
16
15
12
54
I get:
6
1
1
1
5
confusing!
...I guess I'll be posting a lot in the next few days!
thanks in advance to all the kind people who hangs around this forum!
take care