echo FooBar | sed -e 's/[a-z]/\U&/g'
echo FooBar | tr '[:lower:]' '[:upper:]'
tr -d '\r' <in.txt >out.txt