#!/bin/sh  
#
# ident "@(#)bbmkpattern.sh 1.1     00/10/06 SMI"
#
# Copyright (c) 2000 by Sun Microsystems, Inc.
# All rights reserved.
#                       

. $BBROOT/etc/opt/SUNWbb/blackbox.rc
. $BBPATH/config/browser.rc

rm -f $PATTERN

for f in $CONF_FILES; do

	egrep -v -e "#+" $f | awk '{ 
		if ( length($1) != 0) 
			printf("%s|", $1) 
	}' >> $PATTERN

done
# just to make the '|' happy
echo \"____dontfindme\" >> $PATTERN
