Lines are the first field of wc. This perhaps answers Ernies question, but not mine - where emerge shows many less packages than the world file. So where is emerge getting its info?
There are also a number of bugs in bugzilla that may apply to this - basicly inconsistencies in a number of areas, none exactly like this. BillK On Sat, 2003-08-16 at 12:08, Stroller wrote: > On 16/8/03 3:11 am, "Ernie Schroder" <[EMAIL PROTECTED]> wrote: > > > On Friday 15 August 2003 09:19 pm, William Kenworthy wrote: > >> What gives? > >> > >> rattus# emerge -e --deep world -p|wc > >> 135 534 5612 > >> rattus# wc /var/cache/edb/world > >> 608 608 11445 /var/cache/edb/world > >> rattus# > >> > > Thast said, after reading your post I decided to try for myself to see > > if there were discrepancies as you pointed out. > > > > # wc /var/cache/edb/world > > 108 108 2080 /var/cache/edb/world > > # emerge -e --deep world -p|wc > > 388 1549 16617 > > > > I seem to be off in the other direction. What gives here? > > Your output is as expected (I read the 3rd field of `wc` to be number of > lines). > > The world file contains only packages which have been explicitly emerged; > the output of `emerge -e --deep world -p` contains also their dependencies > and lines such as "These are the packages that I would merge..." > > I would not expect the world file to be longer than the output of `emerge > -edp world`, unless that world file had been copied from another system (in > which case, for some reason, `emerge -e` doesn't seem catch everything). > > Stroller. -- William Kenworthy <[EMAIL PROTECTED]> -- [EMAIL PROTECTED] mailing list