Created
October 5, 2019 20:55
-
-
Save jrelo/5ea6bc83c7c8645c0d88a5fa9393bd22 to your computer and use it in GitHub Desktop.
2 simultaneous variables in bash loop
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
seq 3189 3193 > x.txt ; seq 5003 5008 > y.txt; while read -r x && read -r y <&3; do echo number wat${x}.hostgator.com wat${y}.hostgator.com ;done <x.txt 3<y.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment