From owner-freebsd-current Fri Jun 16 18:30:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from mta5.rcsntx.swbell.net (mta5.rcsntx.swbell.net [151.164.30.29]) by hub.freebsd.org (Postfix) with ESMTP id 33B1937C1E2 for ; Fri, 16 Jun 2000 18:30:38 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.149.190]) by mta5.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FW900N1NYUJ1Y@mta5.rcsntx.swbell.net> for current@FreeBSD.ORG; Fri, 16 Jun 2000 20:30:24 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id UAA05406; Fri, 16 Jun 2000 20:29:23 -0500 (CDT envelope-from chris) Date: Fri, 16 Jun 2000 20:29:22 -0500 From: Chris Costello Subject: Re: GENERIC from today does not detect system console on my box In-reply-to: <20000617004457.B558A1CD7@overcee.netplex.com.au> To: Peter Wemm Cc: "Jordan K. Hubbard" , van.woerkom@netcologne.de, current@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <20000616202921.D98160@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <20000617004457.B558A1CD7@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, June 16, 2000, Peter Wemm wrote: > Err.. how did you run it? 'perl < MYKERNEL'? If you run 'perl MYKERNEL' > it will generate nothing because I was kinda lame and didn't know how to do > argument parsing. :-] Couldn't have hurt to ask. while (defined($ARGV[0])) { # ... parse ... shift; } It'd work as perl script.pl arg1 arg2 ... or as ./script.pl arg1 arg2 ... (if +x). -- |Chris Costello |Computers are not intelligent. They only think they are. `--------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message