+examples
This commit is contained in:
parent
e2fa2f25ae
commit
42edb95f6f
13
examples/Makefile
Normal file
13
examples/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
ex1_e:
|
||||
../plug -f ex1.txt -d hw 'hello world' -g hw
|
||||
cat ex1.txt
|
||||
ex1_c:
|
||||
../plug -f ex1.txt -u hw
|
||||
cat ex1.txt
|
||||
|
||||
ex2_e:
|
||||
../plug -f ex2.cpp -d code ' puts(hello world);' -g code
|
||||
cat ex2.cpp
|
||||
ex2_c:
|
||||
../plug -f ex2.cpp -u code
|
||||
cat ex2.cpp
|
3
examples/ex1.txt
Normal file
3
examples/ex1.txt
Normal file
@ -0,0 +1,3 @@
|
||||
original text
|
||||
#placeholder<hw> COLLAPSED
|
||||
some more original text
|
5
examples/ex2.cpp
Normal file
5
examples/ex2.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
signed main(){
|
||||
// #placeholder<code> COLLAPSED
|
||||
return 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user