summaryrefslogtreecommitdiff
path: root/vest/cat.pl
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-16 20:40:43 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-16 20:40:43 +0000
commitcb1839bbb4153955eef1be290a28b47d20de08ca (patch)
tree534938bec72d15b4b37ac3ed3d270c6a8913b817 /vest/cat.pl
parent8099ca52236e1512e7f201b5c5defd1e51bb1c29 (diff)
SNAKE mode for (c1 | c2 | c1) where the two c1 are actually the same process, and test cat.pl with no buffering
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@292 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'vest/cat.pl')
-rwxr-xr-xvest/cat.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/vest/cat.pl b/vest/cat.pl
new file mode 100755
index 00000000..2ecba3f9
--- /dev/null
+++ b/vest/cat.pl
@@ -0,0 +1,4 @@
+#!/usr/bin/perl
+
+$|=1;
+print while(<>);