beam/examples/beamsh: add a few example dockerscripts

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
Solomon Hykes 2014-03-28 15:53:03 -07:00
parent 7958f295e8
commit f534839c8b
3 changed files with 20 additions and 2 deletions

9
beam/examples/beamsh/demo1.ds Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env beamsh
devnull {
multiprint {
exec tail -f /var/log/system.log &
exec ls -l
exec ls ksdhfkjdshf jksdfhkjsdhf
}
}

View file

@ -2,7 +2,7 @@
print {
trace {
emit hello
emit world
emit msg=hello
emit msg=world
}
}

View file

@ -0,0 +1,9 @@
#!/usr/bin/env beamsh
trace {
log {
exec ls -l
exec ls /tmp/jhsdfkjhsdjkfhsdjkfhsdjkkhsdjkf
echo hello world
}
}