Last active
April 1, 2016 04:51
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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