diff --git a/README.md b/README.md index b3272bb..6784dd1 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,14 @@ Edit `server.cfg` to the correct values for your Hog4. $ ./comment.py Adding Hog device at net# 1 comment# GL1 -(macro GL - (target - (number 1))) Go on List 1 comment# exit -Goodbye. +``` + +Run a baconscript file by passing the script file to `comment.py` as standard input. + +```bash +$ ./comment.py < example.bs ``` ## Developing diff --git a/example.bs b/example.bs new file mode 100644 index 0000000..aeee18a --- /dev/null +++ b/example.bs @@ -0,0 +1,10 @@ +GM* +GM1:AM2:HM3 +RM* +RA +FM1/50 +FGM20 +GL1/5 +AS3 +RK2 +CP+