From owner-freebsd-stable Sun Aug 29 11: 3:24 1999 Delivered-To: freebsd-stable@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id D9EAF156D9 for ; Sun, 29 Aug 1999 11:03:16 -0700 (PDT) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id UAA13335 for freebsd-stable@FreeBSD.ORG; Sun, 29 Aug 1999 20:02:09 +0200 (CEST) (envelope-from olli) Date: Sun, 29 Aug 1999 20:02:09 +0200 (CEST) From: Oliver Fromme Message-Id: <199908291802.UAA13335@dorifer.heim3.tu-clausthal.de> To: freebsd-stable@FreeBSD.ORG Subject: Re: Interesting ways to print 3000 spaces... Organization: Administration Heim 3 Reply-To: freebsd-stable@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Replying to myself... > [...] > There would be another nice solution possible, but... > > printf '\t' | expand -3000 > > Expand refuses to use tab stops > 256. :-( > I think I'll fix that and submit a PR. bin/13453 By the way, a friend of mine suggested the following as an alternative. This is probably the easiest way to create 3000 spaces: printf "%3000s" 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