2008/7/1 pk <[EMAIL PROTECTED]>: > On Tuesday 1 July 2008 05:22, Chris F.A. Johnson wrote: > >> var=${var%.} > > ITYM > > var=${var%' > .'}
that would defeat the purpose of keeping the trailing newlines of file, and would just be wrong if the file doesn't have a trailing newline