like the extensions for tars and zips.
|| $archive_file =~ .*\.oar$ \
|| $archive_file =~ .*\.tgz$ \
|| $archive_file =~ .*\.ova$ \
+ || $archive_file =~ .*\.snarf$ \
]]; then
tar -tf $archive_file | $PAGER
elif [[ $archive_file =~ .*\.zip$ \
# locate all the archive files under the path.
find "$dir" -iname "*.jar" -o -iname "*.zip" -o -iname "*.tar" \
- -o -iname "*.iar" -o -iname "*.oar" -iname "*.bz2" \
+ -o -iname "*.iar" -o -iname "*.oar" -o -iname "*.bz2" -o -iname "*.snarf" \
>"$TMPFILE"
while read line; do
|| $archive_file =~ .*\.oar$ \
|| $archive_file =~ .*\.tgz$ \
|| $archive_file =~ .*\.ova$ \
+ || $archive_file =~ .*\.snarf$ \
]]; then
tar -xf $archive_file &>/dev/null
elif [[ $archive_file =~ .*\.zip$ \