Print this page
3764 Semantic of nawk's print statement changed

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libxcurses/src/libc/xcurses/mknames.awk
          +++ new/usr/src/lib/libxcurses/src/libc/xcurses/mknames.awk
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  printf " * %s\n", file > file
  39   39  print " *" > file
  40   40  print " * XCurses Library" > file
  41   41  print " *" > file
  42   42  print " * **** THIS FILE IS MACHINE GENERATED." > file
  43   43  print " * **** DO NOT EDIT THIS FILE." > file
  44   44  print " *" > file
  45   45  print " * Copyright 1990, 1995 by Mortice Kern Systems Inc.  All rights reserved." > file
  46   46  print " *" > file
  47   47  print " */" > file
  48      -print > file
       48 +print "" > file
  49   49  print "#if M_RCSID" > file
  50   50  print "#ifndef lint" > file
  51   51  printf "static char rcsID[] = \"$Header%s\"\n", "$" > file
  52   52  print "#endif" > file
  53   53  print "#endif" > file
  54      -print > file
       54 +print "" > file
  55   55  printf "char *__m_%s[] = {\n", array > file
  56   56  }
  57   57  
  58   58  function tail(file) {
  59   59          printf("\t0\n};\n\n") >file;
  60   60          close(file);
  61   61  }
  62   62  
  63   63  BEGIN {
  64   64          header("boolname.c", "boolnames");
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX