Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-10 Thread Paul Hartman
On Thu, Sep 9, 2010 at 3:46 PM, Daniel Troeder wrote: > On 09/09/2010 07:24 PM, Matt Neimeyer wrote: >> My generic question is: When I'm using a pipe line series of commands >> do I use up more/less space than doing things in sequence? >> >> For example, I have a development Gentoo VM that has a h

Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-10 Thread Matt Neimeyer
Thanks all for your help! I knew it was something simple I "should" have known. Matt On Thu, Sep 9, 2010 at 4:46 PM, Daniel Troeder wrote: > On 09/09/2010 07:24 PM, Matt Neimeyer wrote: >> My generic question is: When I'm using a pipe line series of commands >> do I use up more/less space than d

Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-09 Thread Daniel Troeder
On 09/09/2010 07:24 PM, Matt Neimeyer wrote: > My generic question is: When I'm using a pipe line series of commands > do I use up more/less space than doing things in sequence? > > For example, I have a development Gentoo VM that has a hard drive that > is too small... I wanted to move a database

Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-09 Thread Florian Philipp
Am 09.09.2010 20:25, schrieb Andrea Conti: > Note however (this is the "it depends" part :) that piping does not > affect whatever the programs might allocate or save internally: in your > second example (which does not involve any disk writing in either case) > "sort" needs to see the complete inp

Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-09 Thread Florian Philipp
Am 09.09.2010 19:24, schrieb Matt Neimeyer: > My generic question is: When I'm using a pipe line series of commands > do I use up more/less space than doing things in sequence? > [...] > OR going back to my generic question if I pipe line like "type | sort > | unique > output" does that only use 1

Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-09 Thread Andrea Conti
> My generic question is: When I'm using a pipe line series of commands > do I use up more/less space than doing things in sequence? When you use a pipe you don't need the space to store intermediate results between the two programs. Thepipe is backed by a small system-allocated RAM buffer (4k und

Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-09 Thread Etaoin Shrdlu
On Thu, 9 Sep 2010 13:24:16 -0400 Matt Neimeyer wrote: > My generic question is: When I'm using a pipe line series of commands > do I use up more/less space than doing things in sequence? > > For example, I have a development Gentoo VM that has a hard drive that > is too small... I wanted to mov