[On 29 Jun, @03:56, Chet Ramey wrote in "Re: bash3 on FreeBSD weirdness ..."]
> Miek Gieben wrote:
>
> > The mirror.sh script uses a 'while -r read'-loop
> > to read from standard input. It looks like the while loop terminates
> > after 1 loop on FreeBSD, where as it goes on Linux. How can this be
Miek Gieben wrote:
> The mirror.sh script uses a 'while -r read'-loop
> to read from standard input. It looks like the while loop terminates
> after 1 loop on FreeBSD, where as it goes on Linux. How can this be?
Since you didn't attach the script, there's not enough information to
say.
Chet
--
[please cc me, I'm not on this list]
Hello,
I'm encoutering some weird behavoir with bash3 on freebsd. I've written
a little tool that echo's a filelist (+optional content) to standard
output. This list is then acted upon by a shell script.
(www.miek.nl/projects/rdup is the program in question)