fontconfig/config/config-subst

9 lines
163 B
Plaintext
Raw Normal View History

#!/bin/sh
exprs=""
for i in ${1+"$@"}; do
var="`echo $i | sed 's/=.*$//'`"
val="`echo $i | sed 's/^[^=]*=//'`"
exprs="$exprs -e s;@$var@;$val;"
done
sed $exprs