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

2011-04-25 Thread smiley
erik quanstrom quans...@quanstro.net 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:

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

2011-04-24 Thread smiley
erik quanstrom quans...@quanstro.net 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

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

2011-04-24 Thread Iruatã Souza
On Sun, Apr 24, 2011 at 11:11 AM, smi...@zenzebra.mv.com wrote: erik quanstrom quans...@quanstro.net 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

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

2011-04-24 Thread Yaroslav
Doesn't contrib/pull complete an unfinished installation? 2011/4/24 smi...@zenzebra.mv.com: erik quanstrom quans...@quanstro.net 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

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

2011-04-24 Thread smiley
erik quanstrom quans...@quanstro.net 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 Federico G. Benavento
I'm still alive, do you have a patch? On Sun, Apr 24, 2011 at 5:52 PM, smi...@zenzebra.mv.com wrote: erik quanstrom quans...@quanstro.net writes: should probably be replaced with something like:     cat $cfg.part !     ...     /bin/contrib/pull $name     if(~ -$status -) mv $cfg.part

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

2011-04-24 Thread smiley
Federico G. Benavento benave...@gmail.com writes: I'm still alive, do you have a patch? Aye. 7c7 echo $* --- echo $* [2=1] 69c69 cat $cfg ! --- cat $cfg.part ! 95c95 exec /n/sources/contrib/fgb/root/rc/bin/contrib/pull $name ---

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