mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-27 23:13:07 +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
|
|
}
|