From owner-freebsd-questions Fri Oct 26 17: 8:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 6CA6E37B406 for ; Fri, 26 Oct 2001 17:08:21 -0700 (PDT) Received: from [212.238.77.116] (helo=buffy.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 15xH1P-0001QT-00 for freebsd-questions@FreeBSD.ORG; Sat, 27 Oct 2001 00:08:20 +0000 Received: by tanya.raggedclown.net (Ragged Clown Mailhost, from userid 500) id 7D11911C8; Sat, 27 Oct 2001 01:49:08 +0200 (CEST) Date: Sat, 27 Oct 2001 01:49:08 +0200 From: Cliff Sarginson To: freebsd-questions@FreeBSD.ORG Subject: Re: Newbie-Simple C Shell programming help Message-ID: <20011027014908.A2632@raggedclown.net> References: <20011026133427.A25870-100000@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from gollucci@wam.umd.edu on Fri, Oct 26, 2001 at 04:41:54PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Oct 26, 2001 at 04:41:54PM -0400, Philip M. Gollucci wrote: > you could always use the shell command repeat > > i.e. > > repeat 100 w > > which will run w 100 times... not a very useful example. > % vi foo i command 99. wq % chmod +x foo % foo :) (Do i get the prize for the *worst* suggestion ? At least it's portable ! ) -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message