Skip to content

Instantly share code, notes, and snippets.

@take01x
Created May 18, 2015 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save take01x/a658001498b676d981dc to your computer and use it in GitHub Desktop.
Save take01x/a658001498b676d981dc to your computer and use it in GitHub Desktop.
#!/bin/sh
cp mondai5 mondai5_2
for i in `jot 20 1`
do
base64 -D mondai5_2 > mondai5_tmp 2>/dev/null
if [ $? -ne 0 ]
then
rm mondai5_tmp
break
else
cp mondai5_tmp mondai5_2
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment