Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: printf builtin
- X-seq: zsh-workers 15855
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: printf builtin
- Date: Fri, 21 Sep 2001 18:10:41 +0100
- In-reply-to: "Oliver Kiddle"'s message of "Fri, 21 Sep 2001 17:13:26 BST." <3BAB6726.3B23E63F@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Oliver Kiddle wrote:
> Well, if we do ksh's -f to turn on printf handling it would be easy to
> then add another option to force adding a final newline.
If it's only optional, there's not really any advantage in an option over
an additional "\n" at the end. The point was simply to try to keep normal
print behaviour where possible.
> > % printf "The answer is %d\x0c" 13
> > The answer is -4265416
>
> What platform are you getting that with? I suspect the val union too but
> it'd be nice to check.
Sorry, it's Solaris, 2.6 to 2.8. I may get round to looking at it on
Monday but the combined effect of staring at a screen and the bright lights
in our new offices is putting me off at the moment.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author