Changes
Page history
Update home
authored
May 16, 2020
by
James R.
Show whitespace changes
Inline
Side-by-side
home.md
View page @
26218479
...
...
@@ -2,8 +2,8 @@ I was also writing something before you published those scripts. My method reads
`pp.sed`
- removes preprocessor directives and
`#if 0`
blocks.
```
/^
[
[:blank:]]\*#if 0/,/^[[:blank:]]*#endif/
/^
[
[:blank:]]\*#/d
/^
\[\
[:blank:]]\*#if 0/,/^[[:blank:]]*#endif/
/^
\[\
[:blank:]]\*#/d
```
*
`enum.sed`
- grabs enum definitions and permits the opening brace to be on either the same line or the next.
...
...
...
...