OK,
The version - GNU Bash, 1.14.7(1)
Here are the scripts and their output. Script11.1 and test1 were done in
Bash, script 11.2 and test2 were performed in Ksh. Could you take a look
and tell me what you think the problem is and possibly a resoultion?
Thanks,
Jon
"Paul D. Smith" <psmith@gnu.org> wrote in message
p5g09s3y15.fsf@lemming.engeast.baynetworks.com">news:p5g09s3y15.fsf@lemming.engeast.baynetworks.com...
> %% prj@po.cwru.edu (Paul Jarc) writes:
>
> pj> "J. Telep" <jon@autoweb.net> wrote:
> >> I'm lost. I started learning shell scripting a few days ago and the
book
> >> that I'm using claims that the scripts that I'm programming in should
be
> >> able to use bash or ksh equally as well yet when I run them in bash
they
> >> always screw up. In ksh, they're fine.
> >>
> >> Any idea what the problem could be?
>
> pj> No. If you show us the scripts, then maybe.
>
> Also, please specify what version of Bash you're using. If it's old
> enough, it may be missing functionality.
>
> --
> --------------------------------------------------------------------------
-----
> Paul D. Smith <psmith@gnu.org> Find some GNU make tips at:
>http://www.gnu.orghttp://www.paulandlesley.org/gmake/
> "Please remain calm...I may be mad, but I am a professional." --Mad
Scientist