Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 05:32:06 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        "Gerald S. Stoller" <gs_stoller@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: The  printf  function
Message-ID:  <20040824052652.S5488@wonkity.com>
In-Reply-To: <BAY10-F42RUhXSbmNeO0005428c@hotmail.com>
References:  <BAY10-F42RUhXSbmNeO0005428c@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Aug 2004, Gerald S. Stoller wrote:

> I executed the following  printf  (in a  Korn shell  command-line)
> 		printf  't %2$s .\n'  3  55
> and got the following response
> 	printf: illegal format character $
>
> The following is an excerpt from the  man-3  page for  printf .

'man 3 printf' shows the man page for the C library function printf. 
'man 1 printf' shows the man page for the printf *program*, which does 
not appear to support the $ format string.

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040824052652.S5488>