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:
parent
7958f295e8
commit
f534839c8b
3 changed files with 20 additions and 2 deletions
9
beam/examples/beamsh/demo1.ds
Executable file
9
beam/examples/beamsh/demo1.ds
Executable 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,7 +2,7 @@
|
|||
|
||||
print {
|
||||
trace {
|
||||
emit hello
|
||||
emit world
|
||||
emit msg=hello
|
||||
emit msg=world
|
||||
}
|
||||
}
|
||||
|
|
9
beam/examples/beamsh/logdemo.ds
Executable file
9
beam/examples/beamsh/logdemo.ds
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env beamsh
|
||||
|
||||
trace {
|
||||
log {
|
||||
exec ls -l
|
||||
exec ls /tmp/jhsdfkjhsdjkfhsdjkfhsdjkkhsdjkf
|
||||
echo hello world
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue