1#!/bin/sh 2# 3# Sanity check the patterns file against the wrapzap script, inspired by example 4# code from Scott Tregear. 5# - Cameron Simpson <cs@zip.com.au> 27jan2002 6# 7 8echo `sed -n 's/^STUBURL_\([A-Z][A-Z0-9_]*\)=.*/\1/p' wrapzap` \ 9| tr ' ' '|' \ 10| { read alt 11 grep '^[^#]' ../rc/patterns \ 12 | egrep -v "^($alt) " \ 13 | sed 's/ .*//' \ 14 | sort -u \ 15 | grep -v '^PASS$' 16 } 17