Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while read p; do
- for x in 1 10 100 1000 10000
- do
- name=$p$x
- url="https://d3aqoihi2n8ty8.cloudfront.net/actions/$p/dark/animated/$x/1.gif"
- #psql emotes -c "insert into cheers_test (name, url) values ('$name', '$url')"
- echo $url
- echo $name
- done
- done <test.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement