test
This commit is contained in:
@@ -6,10 +6,6 @@ BEGIN {
|
||||
edited_row = 0;
|
||||
}
|
||||
|
||||
$0 ~ "^\\[" section "\\]" {
|
||||
found_section = 1;
|
||||
}
|
||||
|
||||
$0 ~ "^" key "=" {
|
||||
if (found_section) {
|
||||
found_key = 1;
|
||||
@@ -30,10 +26,15 @@ $0 ~ "^\\[" {
|
||||
}
|
||||
}
|
||||
|
||||
$0 ~ "^\\[" section "\\]" {
|
||||
found_section = 1;
|
||||
}
|
||||
|
||||
/.*/ {
|
||||
if(!edited_row) {
|
||||
print $0;
|
||||
}
|
||||
edited_row = 0;
|
||||
}
|
||||
|
||||
END {
|
||||
|
||||
Reference in New Issue
Block a user