Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > A simple test with CR/LF line endings in a script reveals that it is > pretty solid: > > x=a > case "$x" in a) echo b;; esac > > prints out 'b', as expected. I do not see what this has to do with anything. The shell language parser when parsing a script may do the right thing, but the bug I was alluding to was that your 'read' does not seem to be removing the terminating <newline> (which is CRLF on your platform) after reading a line before splitting the contents on the line at IFS boundaries. > Again. If CR has no place in IFS, why does LF have a place in IFS? It > makes *no* sense to argue for one and against the other. See my message to Matthieu. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html