OSSP var o ./var_play '${HOME:s/$/foo/}' does nothing because it seems that internally a zero-size pattern match does is not handled correctly. o with PCRE active, ./var_play '${HOME:s/x$/foo/}' fails horribly with an impossible error invalid character class! o document exception handling