#!/usr/app/TurboShell/bin/bash
# IFS= and -r keep every line as it is
n=0
while IFS= read -r line; do
  n=$((n + 1))
  echo "$n: $line"
done <words.txt

# IFS=, cuts each line at its commas
{
  read -r _ # the header line
  while IFS=, read -r slot model size temp; do
    echo "slot $slot: $model, $size GB, $temp C"
  done
} <disks.csv
