On Thu, 27 Feb 2003 23:40:02 -0800 Matt Tucker <[EMAIL PROTECTED]> wrote:
> -- Susie <[EMAIL PROTECTED]> spake thusly: > I wasn't saying that it'd fail, I was saying that the "command && > command" construct is used so that if the first command fails, the > second command doesn't get run. You might use it for something like > "cp<source> <dest> && gzip <source>" so that if the copy failed, the > file wouldn't get gzipped. So to do it for "emerge -p && emerge", > you're saying "pretend to emerge and if that succeeds, really emerge". Sorry if I took you literal... I have communication problems. That aside I'm also a newbie to some linux things as mandrake which I was on prior to this is overly newbie friendly and with life stuff it's only reciently I've taken to doing more things outside of the gui. My original command actually was "emerge -ep world > /home/<user id>/emerge-e.txt" That was after a failed emerge -e where I lost a symlink to bash after the bash emerge and I was trying to figure out what was going wacky. I realized I needed to run regenworld after that which I did. I ran the -ep to quickly check it(I don't have alot of packages installed actually). Then as per the string given it went straight to installing. > My point is that doing emerge -p <something> && emerge <something> is > useless. 'emerge -p' gives you the same initial output as emerge, it > just doesn't keep going. And if you want to check output before > starting the merge, I would think you'd want longer than a 0-second > pause. Yes I'm aware of that and as mentioned above I had my reasons for doing it that way. Also I get in the habbit of doing things a certain way and someone had taught me right after installing gentoo to do it in that manner for example "emerge rsync && emerge -up --deep world && emerge -u world && etc-update" I also have a reasonable scroll back buffer in my terminal window... so unless I've left the room and it's started to build I can scroll up and look at what was in the window. > Put another way, you're saying "show me what you're going to do and > then show me what you're going to do and then do it". It just seems > weird to me. Why I do the -p is simply to find out what dependancies there are and if I really want to bother installing them on my system. A few times based on the dependancies I've chose to not install things and install a reasonable alternative to the package I was going to use. -- Susie VE7 HFA [EMAIL PROTECTED] http://arienadean.tripod.com/ ----------------------------------------------------------------------- "Accept no one's definition of your life, but define yourself." - Harvey Fierstein -- [EMAIL PROTECTED] mailing list
