#!/usr/bin/env zsh if [ -z "$(command -v 7z)" ]; then echo "7z needed." fi if [ $# -eq 0 ] || [ "$1" = "-h" ]; then cat </dev/null 7z x -p"$BUF" "$i" done