9 lines
224 B
Awk
9 lines
224 B
Awk
!/^[[:space:]]*#/ && / #/ {
|
|
idx = index($0, " #")
|
|
content = substr($0, 1, idx - 1)
|
|
gsub(/ +$/, "", content)
|
|
col = length(content) + 2
|
|
if (col > max_col) max_col = col
|
|
}
|
|
END { print "max_col=" max_col }
|