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-04-22 15:50:21 -07:00
parent 29ddf2be1e
commit 207e604bad
3 changed files with 20 additions and 2 deletions
+9
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
}
}
+2 -2
View File
@@ -2,7 +2,7 @@
print {
trace {
emit hello
emit world
emit msg=hello
emit msg=world
}
}
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env beamsh
trace {
log {
exec ls -l
exec ls /tmp/jhsdfkjhsdjkfhsdjkfhsdjkkhsdjkf
echo hello world
}
}