vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi! I've got a problem when I try to write a filelist to disk with emerge: # emerge -pu -f world > filelist.lst It used to work fine with previous versions but with portage-2.0.49-r3, 'filelist.lst' only contains the message: "Calculatind dependencies ...done!" The filelist itself is written to the screen instead of the file. Has anybode else encountered the same problem? Any hints are greatly appreciated. Thanks in advance! - Stephan |
| |||
| On Fri, 5 Sep 2003 17:37:28 +0200 Stephan Vollmer <svollmer_devnull@gmx.de> wrote: > Hi! > > I've got a problem when I try to write a filelist to disk > with emerge: > > # emerge -pu -f world > filelist.lst emerge -pu world 2>&1 >filelist.lst regards Sebastian |
| |||
| On Fri, 5 Sep 2003 22:11:23 +0200, Sebastian Siewior wrote: > emerge -pu world 2>&1 >filelist.lst I just tried it, but unfortunately it doesn't seem to work. The result is still the same: The filelist appears on screen, not in the file. - Stephan |
| ||||
| In article <5cifqyimphmk.dlg@ID-54419.user.uni-berlin.de>, Stephan Vollmer wrote: > On Fri, 5 Sep 2003 22:11:23 +0200, Sebastian Siewior wrote: > >> emerge -pu world 2>&1 >filelist.lst > > I just tried it, but unfortunately it doesn't seem to work. > The result is still the same: The filelist appears on > screen, not in the file. > > - Stephan emerge -pu world >filelist.lst 2>&1 or emerge -pu world &>filelist.lst I think the command you tried means: "2>&1": Pipe stderr to the same as stdout (the screen). ">filelist.lst": Pipe stdout to file. Stderr remains piped to screen. Swapping the two redirect-commands will make stdout go to file, then make stderr goto the same as stdout (i.e. file). --Håkon |