File mttroot/mtt/lib/rep/sfun_rep/insert_file.sh artifact 25cb36fec8 part of check-in 617d485bf0
#! /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) }