MERGEDIR.AWK 273 B

123456
  1. # This is an awk program to insert the value of the variable `dir'
  2. # into the file names in the #line commands in bison.simple.
  3. # Out of laziness, we assume the file name in the text is bison.simple.
  4. $1 == "#line" { print $1, $2, "\"" dir "/bison.simple\"" }
  5. $1 != "#line"