Hi!

While playing with sh generators I found that dash and bash have different
interpretations for <slash><newline> sequence.

$ dash -c 'EDIT=xxx; echo $EDIT\
> OR'
xxxOR
$ bash -c 'EDIT=xxx; echo $EDIT\
OR'
/usr/bin/vim

$ dash -c 'echo "$\
(pwd)"'
$(pwd)

Is it undefined behaviour in POSIX?

-- 
WBR, Oleg Bulatov
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to