Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 1999 01:03:51 -0700
From:      "Alastair D'Silva" <deece@newmillennium.net.au>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Interesting ways to print 3000 spaces...
Message-ID:  <001d01bef2be$377560e0$6b6d08cb@omen.com.au>
References:  <199908291459.QAA09297@dorifer.heim3.tu-clausthal.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <olli@dorifer.heim3.tu-clausthal.de>
To: <freebsd-stable@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01bef2be$377560e0$6b6d08cb>