At 01:39 AM 3/11/02 +0100, Eugene van der Pijll wrote:
>Why not replace the escape character '%' with '#'? No new quoting
>operators or functions to learn.
Beat me to it.
>And introduce a warning if there are
>no #'s in the format string.
Maybe if it's a constant, but not if you're doing something like
printf "#.3f " x @nums, @nums;
and @nums is empty. You could always scan the format for a %-specifier
which was valid under the old rules and warn that they seem to be using
retro syntax.
# bespeaks a number-type of thing... how about ~ ?
--
Peter Scott
Pacific Systems Design Technologies