Commit 9d201b26 authored by Mans Rullgard's avatar Mans Rullgard

configure: add filter_out() function

This adds a function to filter out words matching a pattern
from a list.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 44002d83
......@@ -321,6 +321,14 @@ filter(){
done
}
filter_out(){
pat=$1
shift
for v; do
eval "case $v in $pat) ;; *) echo $v ;; esac"
done
}
map(){
m=$1
shift
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment