From owner-freebsd-current Fri Jun 16 20:39: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by hub.freebsd.org (Postfix) with ESMTP id 5D3C237B5AD for ; Fri, 16 Jun 2000 20:39:03 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.149.190]) by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FWA00MNS4SRN7@mta4.rcsntx.swbell.net> for current@FreeBSD.ORG; Fri, 16 Jun 2000 22:38:55 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id WAA05999; Fri, 16 Jun 2000 22:37:43 -0500 (CDT envelope-from chris) Date: Fri, 16 Jun 2000 22:37:42 -0500 From: Chris Costello Subject: Re: GENERIC from today does not detect system console on my box In-reply-to: <20000616223116.I98160@holly.calldei.com> To: Peter Wemm Cc: "Jordan K. Hubbard" , van.woerkom@netcologne.de, current@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <20000616223742.J98160@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <20000617024718.8BD3D1CE2@overcee.netplex.com.au> <20000616223116.I98160@holly.calldei.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, June 16, 2000, Chris Costello wrote: > while (defined($arguments[0])) { > system("ls -l " . $arguments[0]); > shift @arguments; > } Actually, just for style purposes: for (; defined($arguments[0]); shift @arguments) { # ... parse arguments ... } -- |Chris Costello |This time it will surely run. `---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message