+ elif [[ ${line} = @begin* ]]; then
+ set ${line}; shift
+ filter=
+ for name in "${filters[@]}"; do
+ for side in "$@"; do
+ if [[ ${name} == ${side} ]]; then
+ unset filter
+ fi
+ done
+ done
+ elif [[ ${line} = @else ]]; then
+ if [[ -z ${filter+@} ]]; then
+ unset filter
+ else
+ filter=
+ fi
+ elif [[ ${line} = @end ]]; then
+ unset filter
+ elif [[ ${line} = @include* ]]; then
+ line=${line#@include }
+ include "${dir}${line}"
+ elif [[ -z ${filter+@} ]]; then
+ echo "${line}"
+ fi
+ done <"${file}"
+}
+
+include "${file}"