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