Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2000 01:34:49 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        Gary Kline <kline@thought.org>
Cc:        stable@freebsd.org
Subject:   Re: A new file for the base system?
Message-ID:  <20000929013449.F255@parish>
In-Reply-To: <20000928171528.A53977@tao.thought.org>; from kline@thought.org on Thu, Sep 28, 2000 at 05:15:29PM -0700
References:  <20000928154500.B253@parish> <200009281450.e8SEocI18788@pau-amma.whistle.com> <20000928160638.C253@parish> <14803.28795.749606.964088@adler.grauel.com> <20000928121524.A51204@tao.thought.org> <20000929004607.E255@parish> <20000928171528.A53977@tao.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 28, 2000 at 05:15:29PM -0700, Gary Kline wrote:
> On Fri, Sep 29, 2000 at 12:46:07AM +0100, Mark Ovens wrote:
> > On Thu, Sep 28, 2000 at 12:15:24PM -0700, Gary Kline wrote:
> > > 
> > > Another thing that would be a good diagnostic would be a perl or shell
> > > script that found duplicate IRQ usages... this for the hopelessly lazy.
> > > 
> > 
> > Here's something that might help. I knocked it up ages ago to do something
> > (forget exactly what now....). I've split it (hence the trailing \'s) to
> > protect it from been line-wrapped by mail.
> > 
> > #!/bin/sh
> > 
> > dmesg | \
> > grep -i 'irq [0-9][0-9]*' | \
> > sed 's/\(^[a-z0-9]*[: ]\).*\(irq [0-9][0-9]*\).*/\1 \2/' | \
> > sort -n +2 -3
> > 
> 
> 	Thanks for the regex mastery.  And sed expertise.  The first
> 	two lines are pretty evident.  It's your sed line that chops,
> 	dices, slices, and so on, ;)
> 

Of course it does. Didn't you know that 'sed' is short for 'slice et dice'
(McDonalds use it for making chips; fries to you) :)

> 	gary
> 
> 
> 
> -- 
>    Gary D. Kline         kline@tao.thought.org          Public service Unix
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 
		4.4 - The number of the Beastie
________________________________________________________________
51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:marko@freebsd.org                http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000929013449.F255>