public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Any consequences to package.mask'ing newer kernels?
Date: Fri, 13 Apr 2007 08:40:10 +0100	[thread overview]
Message-ID: <20070413084010.11e0eea5@hactar.digimed.co.uk> (raw)
In-Reply-To: <200704130212.05425.bo.andresen@zlin.dk>

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

On Fri, 13 Apr 2007 02:11:58 +0200, Bo Ørsted Andresen wrote:

> > equery --quiet --nocolor list --duplicates gentoo-sources | awk
> > '{print $1}' | head -n -2 | xargs --no-run-if-empty emerge --unmerge
> > &>/dev/null  
> 
> Out of interest:
> 
> 1) Why --duplicates (i.e. am I missing something ;).

No idea, I wrote the script a couple of years ago, if I'd wanted to
remember how it worked I'd have commented it. :) It was never intended
for per review, just a quick hack top free up some disk space. 
I originally used qpkg, but you're right that equery doesn't need
--duplicates.

> 2) Why the awk? Is there ever more than one column without --no-pipe ?

I don't think so, but it doesn't hurt to leave it in. I used awk
because the terminal output adds extra fields and I possibly didn't even
bother to check whether they were still there when using a pipe.


-- 
Neil Bothwick

Q:  Why is top-posting evil?
A: backwards read don't humans because

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-04-13  7:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-31  5:55 [gentoo-user] Any consequences to package.mask'ing newer kernels? Walter Dnes
2007-03-31  8:21 ` Neil Bothwick
2007-04-02  5:02   ` Walter Dnes
2007-04-02  8:37     ` Neil Bothwick
2007-03-31 10:05 ` Boyd Stephen Smith Jr.
2007-03-31 11:06   ` Hemmann, Volker Armin
2007-03-31 11:03 ` Hemmann, Volker Armin
2007-03-31 16:05   ` b.n.
2007-03-31 14:11     ` Hemmann, Volker Armin
2007-04-01 14:21       ` b.n.
2007-04-01 12:48         ` Hemmann, Volker Armin
2007-04-01 22:51           ` b.n.
2007-04-01 21:35             ` Hemmann, Volker Armin
2007-04-01 22:21               ` Neil Bothwick
2007-04-02  5:35       ` Walter Dnes
2007-04-02  8:38         ` Neil Bothwick
     [not found] ` <200704130133.49396.bo.andresen@zlin.dk>
     [not found]   ` <20070413005947.27416382@hactar.digimed.co.uk>
2007-04-13  0:11     ` Bo Ørsted Andresen
2007-04-13  7:40       ` Neil Bothwick [this message]
2007-04-16 13:00         ` Neil Bothwick
2007-04-16 13:06           ` Bo Ørsted Andresen
2007-04-16 13:48             ` Neil Bothwick
2007-04-13 22:49     ` Anthony E. Caudel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070413084010.11e0eea5@hactar.digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox