Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.1 KiB

  1. # copyright (c) 1997 Microsoft Corporation
  2. # program to strip out lines between //BeginExport and //EndExport
  3. # it puts the standard copyright header and a trailing end of file
  4. BEGIN {
  5. print "//========================================================================"
  6. print "// Copyright (C) 1997 Microsoft Corporation "
  7. print "// Author: RameshV "
  8. print "// Description: This file has been generated. Pl look at the .c file "
  9. print "//========================================================================"
  10. }
  11. /[/][/]EndExport.*function/ { print ") ;" }
  12. /[/][/]EndExport/ { in_export = 0; print ""}
  13. { if( in_export ) print; }
  14. /[/][/]BeginExport/ { in_export = 1; print ""}
  15. END {
  16. print "//========================================================================"
  17. print "// end of file "
  18. print "//========================================================================"
  19. }