YAAB (Yet another awk bug) - Fix for '%*' bug

Arthur David Olson ado at elsie.UUCP
Fri Sep 20 07:22:44 AEST 1985


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 at seismo.ARPA
	DEC, VAX and Elsie are Digital Equipment and Borden trademarks



More information about the Net.bugs mailing list