summary refs log tree commit diff
path: root/www
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-02-14 00:14:26 +0000
committerJune McEnroe <june@causal.agency>2022-02-14 00:14:26 +0000
commite9214c2c480316522cc20f89cd3a5925c77a0fca (patch)
tree94c5c8f88e2131d3f475dc7e5a39cb1c08e9cdb3 /www
parentCorrect diminishing shine, I think (diff)
downloadsrc-e9214c2c480316522cc20f89cd3a5925c77a0fca.tar.gz
src-e9214c2c480316522cc20f89cd3a5925c77a0fca.zip
Narrow filter
Diffstat (limited to 'www')
-rw-r--r--www/git.causal.agency/filter.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/git.causal.agency/filter.c b/www/git.causal.agency/filter.c
index b9e7f4cd..9ed9ee17 100644
--- a/www/git.causal.agency/filter.c
+++ b/www/git.causal.agency/filter.c
@@ -32,7 +32,11 @@ static int email(void) {
 	size_t cap = 0;
 	char *buf = NULL;
 	if (getline(&buf, &cap, stdin) < 0) err(1, "getline");
-	if (buf[0] == 'C') {
+	long x = 1;
+	for (char *ch = buf; *ch && *ch != ' '; ++ch) {
+		x *= *ch;
+	}
+	if (buf[0] == 'C' && x == 1251729952200L) {
 		printf("C.%s", buf + strcspn(buf, " "));
 	} else {
 		printf("%s", buf);
install.sh?id=93feed7f201002004767ee6e0d080062f25ab3d7&follow=1'>Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe