Date: Sun, 29 Aug 1999 14:57:02 -0400 From: Tim Vanderhoek <vanderh@ecf.utoronto.ca> To: freebsd-stable@FreeBSD.ORG Subject: Re: Interesting ways to print 3000 spaces... Message-ID: <19990829145702.A45450@ppp18415.on.bellglobal.com> In-Reply-To: <199908291431.QAA08474@dorifer.heim3.tu-clausthal.de>; from Oliver Fromme on Sun, Aug 29, 1999 at 04:31:58PM %2B0200 References: <199908291431.QAA08474@dorifer.heim3.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 29, 1999 at 04:31:58PM +0200, Oliver Fromme wrote: > > When using zsh, it can be done without exec'ing anything > (only using shell-builtins): > > for f in {1..3000}; do echo -n " "; done Actually, with our /bin/sh you can I think avoid execing and do this, c=1 while [ $c -le 3000 ] do c=$(($c + 1)) echo -n ' ' done -- This is my .signature which gets appended to the end of my messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990829145702.A45450>