From owner-freebsd-stable Sun Aug 29 10: 6:13 1999 Delivered-To: freebsd-stable@freebsd.org Received: from locutus.omen.com.au (reggae-15-43.nv.iinet.net.au [203.59.74.43]) by hub.freebsd.org (Postfix) with ESMTP id F3E231537E for ; Sun, 29 Aug 1999 10:05:45 -0700 (PDT) (envelope-from deece@newmillennium.net.au) Received: from picard (picard [203.8.109.107]) by locutus.omen.com.au (8.9.3/8.9.2) with SMTP id BAA06752 for ; Mon, 30 Aug 1999 01:06:42 +0800 (WST) (envelope-from deece@newmillennium.net.au) Message-ID: <001d01bef2be$377560e0$6b6d08cb@omen.com.au> From: "Alastair D'Silva" To: References: <199908291459.QAA09297@dorifer.heim3.tu-clausthal.de> Subject: Re: Interesting ways to print 3000 spaces... Date: Mon, 30 Aug 1999 01:03:51 -0700 Organization: New Millennium Networking MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG For a low-tech solution . . . how about setting your screen width to 100 chars and holding space down till 30 lines have passed? *g* __ __ _____ Alastair D'Silva / \ / \ / ____) Networking Consultant deece@newmillennium.net.au ____/ /\ \/ /\ \/ / New Millennium Networking 0413 485 733 (_____/ \__/ \__/ http://www.newmillennium.net.au ----- Original Message ----- From: Oliver Fromme To: Sent: Sunday, 29 August 1999 7:59 Subject: Re: Interesting ways to print 3000 spaces... > Kai Voigt wrote in list.freebsd-stable: > > 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 > > > > % repeat 3000 echo -n " " > > Good point. There's an even shorter solution in zsh, which > doesn't require 3000 calls to the echo function: > > echo -n ${(l:3000:)x+} > > Your turn. :) > > Regards > Oliver > > -- > Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany > (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) > > "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" > (Terry Pratchett) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message