60
60
# complete on files in tar file
62
62
# get name of tar file from command line
63
63
tar=$( sed -e 's/^.* \([^ ]*'$regex'\) .*$/\1/' <<<"${words[@]}" )
64
64
# devise how to untar and list it
68
68
COMPREPLY=( $( compgen -W "$( printf '%s\n' $( tar $untar $tar \