aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/fifotest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fifotest.sh')
-rwxr-xr-xmisc/fifotest.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/fifotest.sh b/misc/fifotest.sh
new file mode 100755
index 0000000..d6f90d5
--- /dev/null
+++ b/misc/fifotest.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+if [ -z "$1" ]
+then
+ echo "Need fifo filename!" >&2
+ exit 2
+fi
+while :
+do
+ echo 'uri dns.be'
+ echo 'uri dns.be' > $1
+ sleep 2
+ echo 'uri www.archlinx.org'
+ echo 'uri www.archlinx.org' > $1
+ sleep 2
+ echo 'uri icanhascheezburger.com'
+ echo 'uri icanhascheezburger.com' > $1
+ sleep 2
+ echo 'back'
+ echo 'back' > $1
+done