#!/bin/bash # based on findinjar.sh # written by Samuel Lidén Borell if [ $# = 1 ]; then PATTERN="*.xml" REGEX="$1" elif [ $# = 2 ]; then PATTERN="$1" REGEX="$2" else cat >&2 <> "$UNZGREP" </dev/null