mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-12-01 00:43:08 +01:00
21 lines
227 B
Awk
Executable File
21 lines
227 B
Awk
Executable File
#!/usr/bin/gawk -f
|
|
|
|
@include "inplace"
|
|
|
|
BEGIN {
|
|
while ((getline line < "-") > 0)
|
|
input = input line "\n"
|
|
close("-")
|
|
}
|
|
|
|
/TABLEEND/ {
|
|
table = 0
|
|
printf "%s", input
|
|
}
|
|
|
|
!table
|
|
|
|
/TABLESTART/ {
|
|
table = 1
|
|
}
|