Searched hist:210829 (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/tools/regression/bin/sh/builtins/
H A Deval5.0210829 Tue Aug 03 20:27:14 MDT 2010 jilles sh: Return 0 from eval if no command was given.

This makes a difference if there is a command substitution.

To make this work, evalstring() has been changed to set exitstatus to 0 if
no command was executed (the string contained only whitespace).

Example:
eval $(false); echo $?
should print 0.
/freebsd-9.3-release/bin/sh/
H A Deval.cdiff 210829 Tue Aug 03 20:27:14 MDT 2010 jilles sh: Return 0 from eval if no command was given.

This makes a difference if there is a command substitution.

To make this work, evalstring() has been changed to set exitstatus to 0 if
no command was executed (the string contained only whitespace).

Example:
eval $(false); echo $?
should print 0.

Completed in 92 milliseconds