allow empty newenviron fix; shorten RE for echo