From owner-freebsd-stable Tue Oct 3 8: 2:13 2000 Delivered-To: freebsd-stable@freebsd.org Received: from shark.harmonic.co.il (jupiter.harmonic.co.il [192.116.140.62]) by hub.freebsd.org (Postfix) with ESMTP id 16AAB37B502 for ; Tue, 3 Oct 2000 08:02:07 -0700 (PDT) Received: from localhost (roman@localhost) by shark.harmonic.co.il (8.9.3/8.9.3) with ESMTP id SAA11697; Tue, 3 Oct 2000 18:01:50 +0300 Date: Tue, 3 Oct 2000 18:01:50 +0300 (IDT) From: Roman Shterenzon To: Lee Ann Goldstein Cc: stable@FreeBSD.ORG Subject: Re: A new file for the base system? In-Reply-To: <200010030650.XAA16701@leeann.snedmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 2 Oct 2000, Lee Ann Goldstein wrote: > find_irq.sh > ----------- > #!/bin/sh > > dmesg | \ > ./find_irq.awk | \ > sort -n +2 -3 > -----end sh script----- > > find_irq.awk > ------------ > #!/usr/bin/awk -f 1) Better use /var/run/dmesg.boot since message buffer may get filled with other stuff. 2) Since perl is a part of a system now, perhaps it'll be prettier to use perl for that task. --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message