13 lines
204 B
Plaintext
13 lines
204 B
Plaintext
|
#!/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
|