Mirror of :pserver:anonymous@cvs.schmorp.de/schmorpforge libev http://software.schmorp.de/pkg/libev.html
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.
 
 
 
 
 
 

10 line
231 B

  1. #!/bin/sh -e
  2. (
  3. sed -ne '1,\%/\* ECB.H BEGIN \*/%p' ev.c
  4. #perl -ne 'print unless /^#if ECB_CPP/ .. /^#endif/' <~/src/libecb/ecb.h
  5. cat ~/src/libecb/ecb.h
  6. sed -ne '\%/\* ECB.H END \*/%,$p' ev.c
  7. ) >ev.c~ && mv ev.c~ ev.c