Skip to content

Instantly share code, notes, and snippets.

@fulldecent
Created October 18, 2012 03:47
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 fulldecent/3909763 to your computer and use it in GitHub Desktop.
Save fulldecent/3909763 to your computer and use it in GitHub Desktop.
echo "FD & mnh
FD & minamhere
fd & MNH
Fd & MNH
fulld & mnh
fulld & minamhere
fulldecent & mnh
fulldecent & minamhere
fd MNH
fulld MNH
fd mnh
fulld mnh
fulldecent mnh
fd minamhere
fulld minamhere
fulldecent minamhere
" > at
rm -f at2; for A in $(cat at); do echo "$A" >> at2; echo "$A" | tr "&" "+" >> at2; done
rm -f at3; for A in $(cat at2); do echo "$A" >> at3; echo "$A" | tr -d " " >> at3; done
rm -f at4; for A in $(cat at3); do echo "$A" >> at4; echo "$A" | tr "[a-z]" "[A-Z]" >> at4; done
rm -f at5; for A in $(cat at4); do echo "$A" >> at5; echo "$A" | tr "[A-Z]" "[a-z]" >> at5; done
rm -f at6; for A in $(cat at5); do echo "$A" >> at6; echo "$A" | tr "[nm]" "[mn]" >> at6; done
for I in $(cat at6); do echo "$I" | md5 -p; echo -n "$I" | md5 -p; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment