Groups
Sign in
Groups
comp.unix.shell
Conversations
About
Send feedback
Help
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
subshell commands wrongly return 0
16 views
Skip to first unread message
Laurent Schneider
unread,
Oct 17, 2017, 7:03:19 AM
10/17/17
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi
In my current sessions, all my commands return true.
How can I find the root cause?
$ ksh -c false;echo $?
0
$ ksh -c "! true";echo $?
0
$ ksh -c "/foo";echo $?
ksh: /foo: not found
0
$ ksh -c "test 1 = 0";echo $?
0
Thanks
Laurent
Laurent Schneider
unread,
Oct 17, 2017, 7:37:22 AM
10/17/17
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
it suddenly stopped bugging... cannot reproduce anymore
0 new messages