#!/bin/sh

[ "$1" ] && {
    echo "q" | zlist $1
	echo "Would you like to extract $1 ? (y/n) \c"
	read ans
	[ "$ans" = "y" ] && zcat $1 | tar xf -
}
