Skip to content

Instantly share code, notes, and snippets.

@quickgrid
Last active April 1, 2016 04:51
Show Gist options
  • Save quickgrid/50c7b90fb87e7bfe26082fa8dce799f8 to your computer and use it in GitHub Desktop.
Save quickgrid/50c7b90fb87e7bfe26082fa8dce799f8 to your computer and use it in GitHub Desktop.
The shell script reads line into three variables where in each line there are three string separated by space.
#!/bin/bash
while read ip datee timee
do
echo "Details:"
echo $ip
echo $datee
echo $timee
echo ""
done < "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment