Source code of Windows XP (NT5)
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.

13 lines
176 B

  1. s/ This sed script extracts the public sections of header files. //
  2. /^[ ]*\/[\/\*][ ]*\$PUBLIC/!{
  3. d
  4. }
  5. :x
  6. N
  7. s;.*\n;;
  8. /^[ ]*\/[\/\*][ ]*\$ENDPUBLIC/!{
  9. p
  10. b x
  11. }
  12. d