]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/eml2UPPER.sh
a28ae22a0eacd8ce498d2313a26801cb39cd1499
3 # Andrei Costin <zveriu@gmail.com>, 2011
5 # Converts PM3 Mifare Classic emulator EML file to UPPER case (for easier comparison in some text-comparison tools)
7 # http://www.linuxquestions.org/questions/programming-9/bash-script-parsing-optional-parameters-621728/
14 echo "${0##/} input.eml output.eml"
18 # Minimum number of arguments needed by this program
21 # get the number of command-line arguments given
24 # check to make sure enough arguments were given or exit
25 if [[ $ARGC -lt $MINARGS ]] ; then
26 echo "Too few arguments given (Minimum:$MINARGS)"
31 tr '[:lower:]' '[:upper:]' < $1 > $2