From 80c1ff651e04cc1c96a99a6078992b76adebce82 Mon Sep 17 00:00:00 2001 From: Tobias Girstmair Date: Sun, 30 Jun 2024 18:24:32 +0200 Subject: [PATCH] document socat usage this was one of the originally brainstormed features, but implementing it turned out to not be necessary. now there's a documented workaround. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 30db4c2..1a97ebd 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,12 @@ exploits how the server interprets JOIN messages with multiple channels. ircpipe -n myNick -j '#myChan1,#myChan2' -s irc.example.com >> /var/log/irc ``` +Sometimes, communicating using stdin and stdout might not be ideal. socat(1) can +be used to connect ircpipe to a UNIX domain (or any other kind of) socket. + +``` +socat EXEC:'ircpipe -s -n myNick irc.example.com' UNIX-LISTEN:/tmp/ircpipe +``` ## Caveats -- 2.39.3