in reply to Re: truncate only a last blank line
in thread truncate only a last blank line

OT: I once had need to remove the first line from a file and did it with this shell script...
# this once had a purpose... LINES=$(wc -l $1 | awk '{print $1}') tail -$(echo $LINES - 1 | bc -l) $1
Ted
--
"That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
  --Ralph Waldo Emerson