#ident	"@(#)osadmin:shell/selpattern	1.1"
#	Select which pattern matches the given device file.

#!	chmod +x ${file}

echo ${1:?}  |
	sed '	s;.*/\([^/].*\);\1;
		s/\([0-9]*\)\([a-zA-Z]*\).*/\1\2/
	'
