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

  • ... Bart Lateur
    • ... Austin Hastings
    • ... Uri Guttman
      • ... abigail
        • ... Uri Guttman
          • ... Brent Dax
            • ... Uri Guttman
              • ... Brent Dax
              • ... Uri Guttman
              • ... Eugene van der Pijll
              • ... Peter Scott
              • ... Uri Guttman
              • ... ianb
        • ... Brent Dax
  • ... Brent Dax
    • ... Uri Guttman
      • ... Rich Morin
        • ... Jim Cromie
          • ... Luke Palmer
            • ... Rich Morin
      • ... Dmitry Kohmanyuk Дмитрий Кохманюк

Reply via email to