On Monday, December 15, 2014 10:47:29 AM Chet Ramey wrote: > On 12/15/14, 7:11 AM, Dan Douglas wrote: > > > I'm generally interested in what read with (or without) -r combined with -e > > even means. > > I'm not sure what you're driving at. The -e option says how to read the > line; the -r option affects how the characters are processed after being > read. >
Ah ok I thought -e basically negated the effect of -r for some reason but I guess not (like you can still use \ to escape line continuations without -r it seems). Long ago I assumed "read <<<str" was equivalent to "read -r <<<$'str'" based upon what the manual says. BTW I like how "show-mode-in-prompt On" together with "read -ep prompt" shows the indicator. That's a nice touch. -- Dan Douglas