Created
December 14, 2015 14:29
-
-
Save oholiab/dc225443386cb95313d3 to your computer and use it in GitHub Desktop.
moar pete.sh
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
mattc@s023:~ > cat > pete.sh | |
q="" | |
for i in $@; do | |
q="${msg}$i%20" | |
done | |
echo ${msg#*0} | |
mattc@s023:~ > bash pete.sh a bunch of shit biscuits | |
mattc@s023:~ > sed -i -E 's/msg/q/g' pete.sh | |
mattc@s023:~ > bash pete.sh a bunch of shit biscuits | |
bunch%20of%20shit%20biscuits%20 | |
mattc@s023:~ > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment