#!/bin/sh
# Given a file-name pattern, all matching filenames are found, stripped to 
# their basenames, sorted, uniqed, and the resulting names appear on stdout.
# This isn't very fast...

find . -name "$1" -print \
	| sed -e 's/.*\///' \
	| sort \
	| uniq 
