Re: Piped package list

2004-08-11 Thread Tong
On Wed, 11 Aug 2004 17:42:10 +0100, Thomas Adam wrote: >> I seem to recall seeing once that one of the package >> tools (dpkg, apt, or another, I don't remember) could >> save a package list that could later be piped as input >> to return a system to an identical list of packages >> with one comma

Re: Piped package list

2004-08-11 Thread Jacob S.
On Wed, 11 Aug 2004 17:58:36 +0100 Thomas Adam <[EMAIL PROTECTED]> wrote: > On Wed, Aug 11, 2004 at 11:50:07AM -0500, Jacob S. wrote: > > Please see my reply to this. > > > "dpkg --get-selections >& /file/to/output.txt" > > There is no need to shunt stderr as well, since if anything is > writte

Re: Piped package list

2004-08-11 Thread Thomas Adam
On Wed, Aug 11, 2004 at 11:50:07AM -0500, Jacob S. wrote: Please see my reply to this. > "dpkg --get-selections >& /file/to/output.txt" There is no need to shunt stderr as well, since if anything is written to it (unlikely), it will taint the file. > "cat /file/to/output.txt | dpkg --set-select

Re: Piped package list

2004-08-11 Thread Jacob S.
On Wed, 11 Aug 2004 09:17:01 -0700 (PDT) Aaron Peters <[EMAIL PROTECTED]> wrote: > I seem to recall seeing once that one of the package > tools (dpkg, apt, or another, I don't remember) could > save a package list that could later be piped as input > to return a system to an identical list of pack

Re: Piped package list

2004-08-11 Thread Thomas Adam
On Wed, Aug 11, 2004 at 09:17:01AM -0700, Aaron Peters wrote: > I seem to recall seeing once that one of the package > tools (dpkg, apt, or another, I don't remember) could > save a package list that could later be piped as input > to return a system to an identical list of packages > with one comm

Piped package list

2004-08-11 Thread Aaron Peters
I seem to recall seeing once that one of the package tools (dpkg, apt, or another, I don't remember) could save a package list that could later be piped as input to return a system to an identical list of packages with one command. Am I crazy, and if not, how is this done? TIA, Aaron