> Machine Type: i386--freebsd4.0
>
> Bash Version: 2.05
> Patch Level: 0
> Release Status: release
>
> Description:
> I downloaded file ftp://ftp.gnu.org/gnu/bash/bash-2.05.tar.gz. If I compile
> it on FreeBSD
> 4.1.1, shell script below doesn't work (and it's supposed to, as i
> believe). However, if
> I compile under Mandrake 8.0, everything is just fine.
The version of bash you're using doesn't make any difference, since you've
specified that the script is to be run by /bin/sh:
> #!/bin/sh
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/