[On 30 Jun, @07:32, Bob Proulx wrote in "Re: bash3 on FreeBSD weirdness ..."]
> > > > differently. This happens all the time, mostly with ssh.
>
> I did not see a 'head' call anywhere in the script though.
The one in trunk/ is already fixed, look in
Miek Gieben wrote:
> http://www.miek.nl/projects/rdup/svn/trunk/sh-tools/mirror.sh.in
> > Chet Ramey wrote:
> > > The root cause is probably that something is consuming all of the
> > > input from stdin (the pipe) on FreeBSD and not on Linux. I suspect
> > > the call to `head'. The two implementa
[On 29 Jun, @19:10, Bob Proulx wrote in "Re: bash3 on FreeBSD weirdness ..."]
> Chet Ramey wrote:
> > Miek Gieben wrote:
> > > okay, here it it.
>
> Better would have been to share that with the mailing list. :-(
hmmm, I thought I cc-ed it also the ml
Chet Ramey wrote:
> Miek Gieben wrote:
> > okay, here it it.
Better would have been to share that with the mailing list. :-(
> The root cause is probably that something is consuming all of the
> input from stdin (the pipe) on FreeBSD and not on Linux. I suspect
> the call to `head'. The two i
[On 29 Jun, @17:38, Chet Ramey wrote in "Re: bash3 on FreeBSD weirdness ..."]
> > Basicly the function local_mirror() (line 167) works, and
> > remote_mirror() (line 257) doesn't (on FreeBSD that is).
>
> The root cause is probably that something is consuming a
Miek Gieben wrote:
> [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 termin
[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 Free
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)