Date: Fri, 16 Jun 2000 19:47:18 -0700 From: Peter Wemm <peter@netplex.com.au> To: chris@calldei.com 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: <20000617024718.8BD3D1CE2@overcee.netplex.com.au> In-Reply-To: Message from Chris Costello <chris@calldei.com> of "Fri, 16 Jun 2000 20:29:22 CDT." <20000616202921.D98160@holly.calldei.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Costello wrote: > 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). How about that and as a stdin pipe as well if no args are specified? Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 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?20000617024718.8BD3D1CE2>