13 lines
205 B
Sed
13 lines
205 B
Sed
#n
|
|
# print out type and attribute declarations that
|
|
# are not inside require blocks.
|
|
|
|
/require \{/,/} # end require/b nextline
|
|
|
|
/^[[:blank:]]*(attribute|type(alias)?) /{
|
|
s/^[[:blank:]]+//
|
|
p
|
|
}
|
|
|
|
:nextline
|