#!/bin/sh while IFS=, read name sex birthday blood_type do echo $name echo $sex echo $birthday echo $blood_type echo '' done < list.txt read line