Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site elsie.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!elsie!ado
From: ado@elsie.UUCP (Arthur David Olson)
Newsgroups: net.bugs
Subject: Re: YAAB (Yet another awk bug) - Fix for '%*' bug
Message-ID: <5222@elsie.UUCP>
Date: Thu, 19-Sep-85 17:22:44 EDT
Article-I.D.: elsie.5222
Posted: Thu Sep 19 17:22:44 1985
Date-Received: Sat, 21-Sep-85 04:06:05 EDT
References: <224@ur-cvsvax.UUCP> <2577@pegasus.UUCP> <3643@topaz.RUTGERS.EDU> <5221@elsie.UUCP>
Organization: NIH-LEC, Bethesda, MD
Lines: 13
Summary: ...and a simple, portable workaround

A simple, portable workaround is to replace awk nonstatements such as

	printf "%*.*s\n", a, b, c

with awk statements such as

	printf "%" a "." b "s\n", c
--
Bugs is a Warner Brothers trademark.
Awk is a Polly the Parrot trademark.
--
	UUCP: ..decvax!seismo!elsie!ado    ARPA: elsie!ado@seismo.ARPA
	DEC, VAX and Elsie are Digital Equipment and Borden trademarks