#!/bin/sh
#
#	Extract a gzip'd tar'd archive.
#
# 94.02.19 DCN	Created

if [ $# = 0 ]; then
	echo "Looking at stdin." >&2
	gzip -cd - | tar tvfp -
	exit 0
fi

while [ $# -ge 1 ]; do
	echo >&2
	echo "Looking at \"$1\"." >&2
	gzip -cd "$1" | tar tvfp -
	shift
done

exit 0
