Fix typo in manual page
[pipeglade.git] / echo.sh
blobe28ddf9b30c3065a0a5ec7c9394cf2bd8f7efae5
1 #! /usr/bin/env bash
3 export LC_ALL=C
5 FIN=to-g.fifo
6 FOUT=from-g.fifo
8 rm -f $FIN $FOUT
10 ./pipeglade -i $FIN -o $FOUT &
12 # wait for $FIN and $FOUT to appear
13 while test ! \( -e $FIN -a -e $FOUT \); do :; done
15 while test -e $FIN -a -e $FOUT; do
16 read line <$FOUT
17 echo "textview2:insert_at_cursor $line\\n" >$FIN
18 echo "textview2:scroll_to_cursor\\n" >$FIN
19 done