From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimir.eigenstate.org ([206.124.132.107]) by ewsd; Mon May 4 23:38:54 EDT 2020 Received: from abbatoir.fios-router.home (pool-162-83-132-245.nycmny.fios.verizon.net [162.83.132.245]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 84c4baa3 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO); Mon, 4 May 2020 20:38:46 -0700 (PDT) Message-ID: <29C755ECA38798261162073E8677BA15@eigenstate.org> To: unobe@cpan.org, 9front@9front.org Subject: Re: [9front] Re: [patch] format messages for ircrc Date: Mon, 4 May 2020 20:38:44 -0700 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: object-oriented reduce/map standard standard session generator > Ping. Perhaps the -l option is too much. Agreed -- I'd compute it. That would probably look something like: linelen = `{hoc -e '510 - '`{echo 'PRIVMSG '^$target^' :' | wc -c }} Another small bit of nitpicking (I'd be ok with committing it as is, but I may as well register my preferences: > + msg=($msg^' > +PRIVMSG '^$target^' :'^$"cmd) I'd do this somewhere near the start of the program: nl=' ' And construct strings using it like this: msg=($msg^$nl^'PRIVMSG '^$target^' :'^$"cmd) Other than that, this looks fine to me.