irc -d nickname irc.net | sed -f scriptfile > /dev/ttyS0 does not work. I had already tried that. I really want the sed output to go to stdout. it normally does that if no redirect is specified. But this sed in this setup outputs somewhere else when i pipe into it. Oh well.