#!/bin/sh
ACC=""
while read LINE; do
  # Treat the first line specially: no need for
  # separator space or newline.
  if [ -z "$ACC" ]; then
    ACC=$LINE
  else
    # Separate the lines so we can clearly see them
    # (gets messy if the lines are wrapped).
    echo
    ACC="$LINE $ACC"
  fi

  echo "This is $ACC."
done
