Last active
March 22, 2018 01:30
-
-
Save AmreeshTyagi/ac5af10694841b35d537ce2fde55ab3b to your computer and use it in GitHub Desktop.
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 | |
IFS=';' read -ra ADDR <<< "$IN" | |
for i in "${ADDR[@]}"; do | |
# process "$i" | |
done | |
#Ref: https://stackoverflow.com/questions/918886/how-do-i-split-a-string-on-a-delimiter-in-bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment