File mttroot/mtt/lib/rep/sfun_rep/insert_file.sh artifact 25cb36fec8 part of check-in 543de8091c
#! /usr/bin/gawk -f # script to replace the line: "/* insert filename */" with the contents of file "filename" ($1 != "/*" || $2 != "insert" || $4 != "*/") { print } ($1 == "/*" && $2 == "insert" && $4 == "*/") { cmd = "cat " $3 ; system(cmd) }