> The "declare", OTOH, is pretty Bashist. But it can be replaced by > a simple "echo":
True. It was just a convenient way of showing that the variable hadn't absorbed any white space. Besides, I was just picking up the "Bash can't do it" gauntlet. I'd often prefer awk in such a situation (like Erik and Greg have mentioned). -- Cheers, Clive