Use read instead of get for strings to avoid problems with embedded
newlines.