Change an error message for consistency of terms
[pipeglade.git] / echo.sh
blobe63754fb567ce68ef45356bfb7c5c0ec31e4aba8
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 # in case these aren't fifos
10 ./pipeglade -i $FIN -o $FOUT -b
12 while test -e $FIN -a -e $FOUT; do
13 read line <$FOUT
14 echo "textview2:insert_at_cursor $line\\n" >$FIN
15 echo "textview2:scroll_to_cursor\\n" >$FIN
16 done