Re: pdksh not setting $? with exit status of commands

2005-01-20 Thread David Kramer
Igor Pechtchanski cs.nyu.edu> writes: > > Cygwin Configuration Diagnostics > > Current System Time: Wed Jan 19 16:13:42 2005 > > > > Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 > > [snip] > > Found: C:\cygwin\bin\grep.exe > > Found: c:\SFU\common\grep.exe > > Warning: C:\cygwin\bin\g

Re: pdksh not setting $? with exit status of commands

2005-01-19 Thread David Kramer
Igor Pechtchanski cs.nyu.edu> writes: > On Wed, 19 Jan 2005, David Kramer wrote: > > > When I execute commands in the pdksh shell that should set an exit > > value, $? is not being set. When I use the bash shell, it is. > > Please review and follow <http://cygwin

Re: pdksh not setting $? with exit status of commands

2005-01-19 Thread David Kramer
Dave Korn artimi.com> writes: > > > -Original Message- > > From: cygwin-owner On Behalf Of David Kramer > > Sent: 19 January 2005 15:20 > > > When I execute commands in the pdksh shell that should set an > > exit value, $? is > > not

pdksh not setting $? with exit status of commands

2005-01-19 Thread David Kramer
When I execute commands in the pdksh shell that should set an exit value, $? is not being set. When I use the bash shell, it is. In pdksh: /c/windevel> grep o regexps oo /c/windevel> echo $? 0 /c/windevel> grep Z regexps /c/windevel> echo $? 0 In bash: /c/windevel> grep o regexps oo /c/windeve