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
commita4edcaaa4e22691effc8a1535150117dc7a75e0a (patch)
tree485738c56f957c8dc32035bdfb6db520e19baaff /vest/cat.pl
parent1c47931c5669099899e2d2667f87e191e7aa2dbd (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(<>);