mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-24 05:43:08 +01:00
17 lines
176 B
Bash
Executable File
17 lines
176 B
Bash
Executable File
#!/bin/sh
|
|
|
|
table="$(mktemp XXXXXX)"
|
|
trap 'rm "$table"' EXIT
|
|
|
|
cat > "$table"
|
|
|
|
sed -i "
|
|
/TABLESTART/,/TABLEEND/ {
|
|
/TABLESTART/ {
|
|
r $table
|
|
b
|
|
}
|
|
/TABLEEND/!d
|
|
}
|
|
" "$1"
|