9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@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	[thread overview]
Message-ID: <29C755ECA38798261162073E8677BA15@eigenstate.org> (raw)
In-Reply-To: <A5BFDE79-0CD5-4CD4-B1CE-332C2DB5FFE3@cpan.org>

> 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.



  reply	other threads:[~2020-05-05  3:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21  8:13 Romano
2020-05-05  3:08 ` Romano
2020-05-05  3:38   ` ori [this message]
2020-05-05  7:43     ` [9front] " Romano
2020-06-13  0:09     ` Romano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29C755ECA38798261162073E8677BA15@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    --cc=unobe@cpan.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).