From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Thu, 26 Nov 2009 16:58:49 +0000 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: [9fans] rc bug? Topicbox-Message-UUID: a2a9ecb6-ead5-11e9-9d60-3106f5b1d025 this seems to be a good day for me to be finding old bugs. i don't think these two bits of rc should behave any differently: % rc -c 'echo hello > /fd/4' <>[4] /dev/cons hello % {echo hello > /fd/4} <>[4] /dev/cons /fd/4: rc: can't open: '/fd/4' inappropriate use of fd % as it happens, the actual file being opened in the second instance is '#c/cons' (the original rc's stdin).