Last active
May 24, 2018 23:26
-
-
Save eine/24905f000b3954fae75a163244ffd033 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 | |
curl -L $1 | \ | |
while read L; do | |
[ "$(echo $L | grep '#>>')" != "" ] && F="$(echo "$L" | sed 's/#>> //g')" || echo "$L" >> $F; | |
done | |
chmod +x run.sh | |
./run.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment