Subject: correct shell behaviour? To: None <tech-userlevel@netbsd.org> From: David Laight <david@l8s.co.uk> List: tech-userlevel Date: 08/08/2002 14:52:06
What should sh output for the following:
(exit 3);echo $? $(echo $?) $?
In particular, when the last $? is expanded, is the 'last pipeline'
the '(exit 3)' or '$(echo $?)'.
(I've been investigating bin/17870)
David
--
David Laight: david@l8s.co.uk