Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2000 20:29:22 -0500
From:      Chris Costello <chris@calldei.com>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        "Jordan K. Hubbard" <jkh@zippy.osd.bsdi.com>, van.woerkom@netcologne.de, current@FreeBSD.ORG
Subject:   Re: GENERIC from today does not detect system console on my box
Message-ID:  <20000616202921.D98160@holly.calldei.com>
In-Reply-To: <20000617004457.B558A1CD7@overcee.netplex.com.au>
References:  <jkh@zippy.osd.bsdi.com> <20000617004457.B558A1CD7@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <chris@calldei.com>
|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




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