aboutsummaryrefslogtreecommitdiff
path: root/sam/commands/pipe-out.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'sam/commands/pipe-out.cmd')
-rw-r--r--sam/commands/pipe-out.cmd5
1 files changed, 5 insertions, 0 deletions
diff --git a/sam/commands/pipe-out.cmd b/sam/commands/pipe-out.cmd
new file mode 100644
index 0000000..2a23da1
--- /dev/null
+++ b/sam/commands/pipe-out.cmd
@@ -0,0 +1,5 @@
+1 > cat > pipe-out.tmp
+0 < cat pipe-out.tmp
+0 r pipe-out.tmp
+! rm pipe-out.tmp
+0 < cat pipe-out.tmp