Created
October 13, 2017 09:35
-
-
Save timhodson/eb4af679ba254a86a7e612a8b9b19ad6 to your computer and use it in GitHub Desktop.
While loop reading a file example
This file contains 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
# for each line read of the file | |
while read line | |
do | |
echo "$line" | |
done < input_file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment