File mttroot/mtt/lib/rep/sfun_rep/insert_file.sh artifact 25cb36fec8 part of check-in ec9a4785ac


#! /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) }

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]