Greetings. On Mon, 16 Apr 2012 21:54:53 +0200 Connor Lane Smith <c...@lubutu.com> wrote: > On 16 April 2012 19:38, Christoph Lohmann <2...@r-36.net> wrote: > > There is socat(1) and netcat(1). Of course they are big, but is there a > > need to reimplement them? > > Neither handle IRC pings. Of course, you could wrap them in a shell > script and so on, but at that point I begin to wonder whether it's > worse to write 90 lines of C or to hack some shell around 39000 or > 7000 lines, respectively.
See chugly[0] for how to do it right. Doing something serious will need shell redirections anyway. Linux is full of fifos. :( Sincerely, Christoph Lohmann [0] http://www.proweb.co.uk/~matt/chugly.rc