The printf function

2004-08-24 Thread Gerald S. Stoller
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 . Each conversion

Re: The printf function

2004-08-24 Thread Warren Block
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 .