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