Created
April 17, 2016 14:58
-
-
Save aliharis/29f9b745dc18b5d9b072e161fe1a6c8a to your computer and use it in GitHub Desktop.
Read a text file line by line
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 IFS='' read -r line || [[ -n "$line" ]]; do | |
wget $line | |
done < "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment