Last active
August 29, 2015 14:10
-
-
Save alaingilbert/cd820f9ea5501b34c1cf to your computer and use it in GitHub Desktop.
vessel.sh
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
# Solution by Alain Gilbert | |
# http://www.vessel.com/careers | |
while grep "eval(" apply.rb > /dev/null; do | |
sed "s/eval/puts/g" apply.rb > 'tmp.rb'; | |
ruby tmp.rb > 'apply.rb'; | |
done | |
cat apply.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cute