Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-25 Thread smiley
erik quanstrom writes: >> 7c7 >> < echo $* >> --- >> > echo $* >[2=1] > > if you want stderr, this should be > > echo $* >[1=2] Yes, you are right, I got fd 1 and fd 2 backwards. -- +---+ |E-Mail: smi...@zenzebra.mv.

Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread erik quanstrom
> 7c7 > < echo $* > --- > > echo $* >[2=1] if you want stderr, this should be echo $* >[1=2] - erik

Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread smiley
"Federico G. Benavento" writes: > I'm still alive, do you have a patch? Aye. 7c7 < echo $* --- > echo $* >[2=1] 69c69 < cat > $cfg < cat > $cfg.part < prog=/n/sources/contrib/fgb/root/rc/bin/contrib/pull 97c97,102 < exec /bin/contrib/pull $name --- > prog=/bin/cont

Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread Federico G. Benavento
I'm still alive, do you have a patch? On Sun, Apr 24, 2011 at 5:52 PM, wrote: > erik quanstrom writes: > >>> should probably be replaced with something like: >>> >>>     cat > $cfg.part <>>     ... >>>     /bin/contrib/pull $name >>>     if(~ -$status -) mv $cfg.part $cfg >>>     if not { >>>  

Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread smiley
erik quanstrom writes: >> should probably be replaced with something like: >> >> cat > $cfg.part <> ... >> /bin/contrib/pull $name >> if(~ -$status -) mv $cfg.part $cfg >> if not { >> echo install failed >[1=2] >> rm $cfg.part >> exit 'oh, crap' >>

Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread Yaroslav
Doesn't contrib/pull complete an unfinished installation? 2011/4/24 : > erik quanstrom writes: > >>> IIRC it's based on replica(1) >>> which rather requires ideal circumstances for correct behaviour. >> >> partial installs are easy to recover from.  i just used it friday to sort >> out a file sy

Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread Iruatã Souza
On Sun, Apr 24, 2011 at 11:11 AM, wrote: > erik quanstrom writes: > >>> IIRC it's based on replica(1) >>> which rather requires ideal circumstances for correct behaviour. >> >> partial installs are easy to recover from.  i just used it friday to sort >> out a file system that had a contrib packa

Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread erik quanstrom
> should probably be replaced with something like: > > cat > $cfg.part < ... > /bin/contrib/pull $name > if(~ -$status -) mv $cfg.part $cfg > if not { > echo install failed >[1=2] > rm $cfg.part > exit 'oh, crap' > } why don't you email the author d

[9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread smiley
erik quanstrom writes: >> IIRC it's based on replica(1) >> which rather requires ideal circumstances for correct behaviour. > > partial installs are easy to recover from. i just used it friday to sort > out a file system that had a contrib package listed as installed, but it > hadn't been. It