Machine Type: i686-pc-linux-gnu
Bash Version: 3.1
Patch Level: 11
Release Status: release
Description:
When IFS is "\n" a single n at the end of a line is dropped.
i.e. the following does not work (at least on my machine(s)):
while IFS="\n" read i; do echo $i; done
abc
abc
abcn <----- input
abc <----- output
abcnn
abcnn
abcnnn
abcnnn
Best regards
Mihai