public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Peter Kadau" <peter.kadau@web.de>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] Script to make list of ebuilds without $Header$
Date: Wed Aug 15 10:42:01 2001	[thread overview]
Message-ID: <200108151642.f7FGg3619604@mailgate3.cinetic.de> (raw)

hi !


> #! /bin/sh
> for X in `find /usr/portage/ -name *.ebuild | sort`;
> do
>     
>     grep "\$Header" ${X} > /dev/null || echo ${X}
>     
> done

i'd rather do an

find /usr/portage -name '*.ebuild' | xargs grep -E -L \ '^[[:blank:]]*#[[:blank:]]*\$HEADER\$[[:blank:]]*$'

because it doesn't fork for every file.


> Dan Armak

ciao
peter


-----------------------------------------------------------------
peter kadau
email: peter.kadau@web.de
open source is no religion - it just produces the most reliable software
-----------------------------------------------------------------
______________________________________________________________________________
Ferienklick.de - Urlaub ist schön!
Hier geht's zum Traumstrand: http://ferienklick.de/?PP=2-5-100-105-13




             reply	other threads:[~2001-08-15 16:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-15 10:42 Peter Kadau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-15  7:50 [gentoo-dev] Script to make list of ebuilds without $Header$ Dan Armak
2001-08-15  8:08 ` Dan Armak
2001-08-15 11:15   ` Dan Armak
2001-08-15  9:15 ` Chad M. Huneycutt
2001-08-15 11:30   ` Dan Armak
2001-08-15 12:44     ` Daniel Robbins
2001-08-15 12:56       ` Dan Armak
2001-08-30  6:12       ` Parag Mehta

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=200108151642.f7FGg3619604@mailgate3.cinetic.de \
    --to=peter.kadau@web.de \
    --cc=gentoo-dev@cvs.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