#!/bin/sh
if [ "$#" -eq 1 ]; then
	find "$1" -type f -exec cat {} \;
else
	find "$1" -type f -name "$2" -exec cat {} \;
fi

