dotfiles/.bin/OLD/mcat

13 lines
204 B
Plaintext
Raw Normal View History

#!/bin/sh
for foo in in $@
do
case $foo in
*.gz) zcat $foo; ;;
*.tgz) zcat $foo; ;;
*.bz2) bzcat $foo; ;;
*.tbz2) bzcat $foo; ;;
*) cat $foo; ;;
esac
done