13 lines
204 B
Bash
Executable File
13 lines
204 B
Bash
Executable File
#!/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
|