This patch fixes a problem with the expr command in which the leading zeros are truncated if CMD_ENV is set to bsd.