Date: Sat, 27 Oct 2001 01:49:08 +0200 From: Cliff Sarginson <cliff@raggedclown.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: Newbie-Simple C Shell programming help Message-ID: <20011027014908.A2632@raggedclown.net> In-Reply-To: <Pine.GSO.4.21.0110261641170.25270-100000@rac2.wam.umd.edu>; from gollucci@wam.umd.edu on Fri, Oct 26, 2001 at 04:41:54PM -0400 References: <20011026133427.A25870-100000@localhost> <Pine.GSO.4.21.0110261641170.25270-100000@rac2.wam.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <esc> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011027014908.A2632>