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