From owner-freebsd-stable Sun Aug 29 17:39:49 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail.he.net (mail.he.net [165.90.49.10]) by hub.freebsd.org (Postfix) with ESMTP id DE92914DE4 for ; Sun, 29 Aug 1999 17:39:47 -0700 (PDT) (envelope-from manek@best.com) Received: from pantha.tyga.com (mail.tyga.com [207.33.7.211]) by mail.he.net (8.8.6/8.8.2) with ESMTP id RAA11798 for ; Sun, 29 Aug 1999 17:39:36 -0700 Received: from after (208.25.55.44) by pantha.tyga.com with SMTP (Apple Internet Mail Server 1.1.1); Sun, 29 Aug 1999 16:47:24 -0800 From: "Sameer R. Manek" To: Subject: RE: Interesting ways to print 3000 spaces... Date: Sun, 29 Aug 1999 17:39:23 -0700 Message-ID: <000201bef280$1b3a64e0$2200000a@after.school.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 In-Reply-To: <199908291459.QAA09297@dorifer.heim3.tu-clausthal.de> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Oliver Fromme > Sent: Sunday, August 29, 1999 7:59 AM > To: freebsd-stable@FreeBSD.ORG > 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. :) > While I'm sure everyone is impressed with your ability to create 3000 spaces this is off lists' topic. There are probably 3000 ways to do that in as many languages. This thread should be considered dead, anyone who wants to continue discussion, private email. Sameer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message