# POSIX-compliant; ${1:--} can be used either
file="${1--}"
cat -- "${file}" | while IFS= read -r line; do
  printf '%s\n' "${line}"
done
