[X4U] spurious percent sign when closing STDIN

Xavier Noria fxn at hashref.com
Thu Dec 27 05:33:01 PST 2007


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