#! /bin/sh

# Encrypt/Decrypt a file using ROT13

set -e

cat "$1" | tr 'A-Za-z' 'N-ZA-Mn-za-m' > "$1".rot13;
mv "$1".rot13 "$1"
