提交 9d201b26 编写于 作者: M Mans Rullgard

configure: add filter_out() function

This adds a function to filter out words matching a pattern
from a list.
Signed-off-by: NMans Rullgard <mans@mansr.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册