Re: bash3 on FreeBSD weirdness

2006-06-30 Thread Miek Gieben
[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 tags/ for older versions. I'm using a combinat

Re: bash3 on FreeBSD weirdness

2006-06-29 Thread Miek Gieben
[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

Re: bash3 on FreeBSD weirdness

2006-06-29 Thread Miek Gieben
[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 all of the > input from stdin (the pip

Re: bash3 on FreeBSD weirdness

2006-06-28 Thread Miek Gieben
[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

bash3 on FreeBSD weirdness

2006-06-28 Thread Miek Gieben
[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)