Created
May 7, 2016 15:31
-
-
Save darth-veitcher/8e7e76246433e9c02067547c98517f7e to your computer and use it in GitHub Desktop.
Bash iterate file and split lines
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
| while read listing; do words=( $listing ); echo wget -O ${words[0]} \"${words[1]}\"; done < test.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment