Date: Sun, 29 Aug 1999 15:28:52 -0400 From: Garance A Drosihn <drosih@rpi.edu> To: freebsd-stable@FreeBSD.ORG Subject: Re: Interesting ways to print 3000 spaces... Message-ID: <v04210105b3ef39a9c7ec@[128.113.24.47]> In-Reply-To: <199908291459.QAA09297@dorifer.heim3.tu-clausthal.de> References: <199908291459.QAA09297@dorifer.heim3.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
At 4:59 PM +0200 8/29/99, Oliver Fromme wrote: >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. :) In bash, type echo ' then an esc character, then the number 3000, then a blank, a closing single-quote, and a return. --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute 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?v04210105b3ef39a9c7ec>