Created
April 13, 2021 14:45
-
-
Save escowles/8545f1623d555ebe1d9445ac85ebcf1c to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
function f | |
{ | |
read ARK | |
while [ "$ARK" ]; do | |
LOC=`curl -s -I https://n2t.net/$ARK | grep Location` | |
echo $ARK $LOC | |
read ARK | |
done | |
} | |
cat arks.txt | f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment