HomeFreeBSD

Don't let trailing empty lines overwrite the result of the last command with 0.

Description

Don't let trailing empty lines overwrite the result of the last command with 0.
This affects the built-ins eval, fc, and trap and also the string passed to sh
with the -c option.

Submitted by: Jilles Tjoelker

Details

Event Timeline