Just for the record: The n switch has another advantage that is expecially useful when reading from text files that vary alot - if the line you are reading has a "|" symbol in it will execute whatever text follows the | as a command, if you use the n switch for $read this never happens, so it is best to use the n switch. This doesn't always happen though, which makes me wonder if it is a bug...