CONTRIBUTING: Fix sed command example

This commit is contained in:
Sebastian Huber 2019-03-28 07:49:53 +01:00
parent 0d01764988
commit 4ed738a0f4

View File

@ -194,7 +194,7 @@ original FreeBSD code.
``` ```
The following command may be useful: The following command may be useful:
``` ```
sed -i 's%#include <machine/rtems-bsd-user-space.h>%#include <machine/rtems-bsd-user-space.h>\n#ifdef __rtems__\n#include <machine/rtems-bsd-program.h>\n#include "rtems-bsd-PROGNAME-namespace.h"\n#endif /* __rtems__ */%' *.c sed -i 's%#include <machine/rtems-bsd-user-space.h>%#include <machine/rtems-bsd-user-space.h>\n\n#ifdef __rtems__\n#include <machine/rtems-bsd-program.h>\n#include "rtems-bsd-PROGNAME-namespace.h"\n#endif /* __rtems__ */%' *.c
``` ```
* At the bottom of each source file place the follwing: * At the bottom of each source file place the follwing:
```c ```c