diff --git a/examples/Makefile b/example/Makefile similarity index 100% rename from examples/Makefile rename to example/Makefile diff --git a/example/ex1.txt b/example/ex1.txt new file mode 100644 index 0000000..d31c7b1 --- /dev/null +++ b/example/ex1.txt @@ -0,0 +1,5 @@ +original text +#placeholder<hw> BEGIN +hello world +#placeholder<hw> END +some more original text diff --git a/example/ex2.cpp b/example/ex2.cpp new file mode 100644 index 0000000..57c873d --- /dev/null +++ b/example/ex2.cpp @@ -0,0 +1,7 @@ +#include <stdio.h> +signed main(){ + // #placeholder<code> BEGIN + puts(hello world); + // #placeholder<code> END + return 0; +} diff --git a/examples/gnu.sh b/example/gnu.sh similarity index 71% rename from examples/gnu.sh rename to example/gnu.sh index 31f1aae..c46063d 100644 --- a/examples/gnu.sh +++ b/example/gnu.sh @@ -2,7 +2,7 @@ echo start -#placeholder<@gnu-tofile-payload> +#placeholder<@gnu-tofile-payload> COLLAPSED echo start diff --git a/examples/ex1.txt b/examples/ex1.txt deleted file mode 100644 index 657f967..0000000 --- a/examples/ex1.txt +++ /dev/null @@ -1,3 +0,0 @@ -original text -#placeholder<hw> COLLAPSED -some more original text diff --git a/examples/ex2.cpp b/examples/ex2.cpp deleted file mode 100644 index e3d9321..0000000 --- a/examples/ex2.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include <stdio.h> -signed main(){ - // #placeholder<code> COLLAPSED - return 0; -}