[X4U] spurious percent sign when closing STDIN

Norman Cohen nacohen at mac.com
Thu Dec 27 05:47:58 PST 2007


Not seeing that behavior with irb or bc on 10.5.1.

Norm
---
Norman A. Cohen
nacohen at mac.com

"Where is human nature so weak as in the bookstore?"
Henry Ward Beecher

On Dec 27, 2007, at 05:33 AM, Xavier Noria wrote:

> After the upgrade to Leopard a spurious percent and something else  
> (unseen, to its right) is appended to ^D if I close STDIN in some  
> command-line utilities. For example the bc calculator:
>
>   fxn at feynman:~$ bc
>   bc 1.06
>   Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
>   This is free software with ABSOLUTELY NO WARRANTY.
>   For details type `warranty'.
>   ^D%
>
> or the irb Ruby interactive console:
>
>   fxn at feynman:~$ irb
>   irb(main):001:0> ^D%
>
> This does not happen in others, for example the Python interpreter:
>
>   fxn at feynman:~$ python
>   Python 2.5.1 (r251:54863, Oct  5 2007, 21:08:09)
>   [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>   Type "help", "copyright", "credits" or "license" for more  
> information.
>   >>> ^D
>
> A Google search has not helped, does that ring any bell?
>
> -- fxn



More information about the X4U mailing list