]> git.ipfire.org Git - people/stevee/selinux-policy.git/blame - support/get_type_attr_decl.sed
make load target more friendly and add reload target
[people/stevee/selinux-policy.git] / support / get_type_attr_decl.sed
CommitLineData
3abd5ee8
CP
1#n
2# print out type and attribute declarations that
4f447b09 3# are not inside require and optional blocks.
3abd5ee8
CP
4
5/require \{/,/} # end require/b nextline
4f447b09 6/optional \{/,/} # end optional/b nextline
3abd5ee8 7
b67fafc2 8/^[[:blank:]]*(attribute|type(alias)?) /{
3abd5ee8
CP
9 s/^[[:blank:]]+//
10 p
11}
12
13:nextline