[TUHS] UNIX of choice these days?
chet.ramey at case.edu
Fri Sep 29 04:04:55 AEST 2017
On 9/28/17 1:57 PM, Derek Fawcus wrote:
> On Thu, Sep 28, 2017 at 06:44:20PM +0100, Derek Fawcus wrote:
>> On Thu, Sep 28, 2017 at 08:34:28AM -0400, Chet Ramey wrote:
>>> Yes, that changed in 2007 based on bug reports you filed while working at Cisco.
>> So fd 255 is my fault? :-)
> Or not - given that macOS, using an older bash already used 255:
No, the opening of /dev/tty to get the controlling terminal instead of
assuming you can use fd 2 for it is your fault. :-)
Bash always used an unused fd close to the fd limit to save the handle.
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet at case.edu http://cnswww.cns.cwru.edu/~chet/
More information about the TUHS