1 # generat an application header
5 for (i =
0; i
< NAME_LENGTH
; ++i
) {
8 name =
substr("No Name" padding
, 0, NAME_LENGTH
)
15 /^
[[:space
:]]*#[[:space:]]*define[[:space:]]+APPLICATION_TITLE[[:space:]]+/ {
16 line = gensub
("^.*APPLICATION_TITLE[[:space:]]*\"", "", 1, $
0)
17 line = gensub
("\".*$", "", 1, line
)
19 name =
substr(line padding
, 0, NAME_LENGTH
)