about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--README.78
-rw-r--r--config.c2
-rw-r--r--database.h2
-rw-r--r--litterbox.12
-rw-r--r--litterbox.c2
-rw-r--r--scoop.12
-rw-r--r--scoop.c2
-rw-r--r--unscoop.12
-rw-r--r--unscoop.c4
-rw-r--r--xdg.c2
10 files changed, 14 insertions, 14 deletions
diff --git a/README.7 b/README.7
index ca99c11..a33b34c 100644
--- a/README.7
+++ b/README.7
@@ -1,4 +1,4 @@
-.Dd May 18, 2021
+.Dd October 21, 2023
 .Dt README 7
 .Os "Causal Agency"
 .
@@ -76,13 +76,11 @@ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
 .
 .Pp
 On
-.Fx
-and
 .Ox
 the recommended way to run
 .Nm
 is with the process supervisor
-.Lk https://git.causal.agency/catsit catsit .
+.Lk https://git.causal.agency/kitd kitd .
 .
 .Sh FILES
 .Bl -tag -width "litterbox.c" -compact
@@ -127,7 +125,7 @@ Web interface:
 .Lk https://git.causal.agency/scooper scooper
 .It
 .Rs
-.%A June Bug
+.%A June McEnroe
 .%T IRC Suite
 .%U https://text.causal.agency/010-irc-suite.txt
 .%D June 19, 2020
diff --git a/config.c b/config.c
index 861bf88..3448e0d 100644
--- a/config.c
+++ b/config.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019  C. McEnroe <june@causal.agency>
+/* Copyright (C) 2019  June McEnroe <june@causal.agency>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
diff --git a/database.h b/database.h
index 97872c9..a6db904 100644
--- a/database.h
+++ b/database.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019  C. McEnroe <june@causal.agency>
+/* Copyright (C) 2019  June McEnroe <june@causal.agency>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
diff --git a/litterbox.1 b/litterbox.1
index aafadbd..c54a576 100644
--- a/litterbox.1
+++ b/litterbox.1
@@ -335,7 +335,7 @@ offered by
 .Xr pounce 1 .
 .
 .Sh AUTHORS
-.An June Bug Aq Mt june@causal.agency
+.An June McEnroe Aq Mt june@causal.agency
 .
 .Sh BUGS
 Send mail to
diff --git a/litterbox.c b/litterbox.c
index ccc3ecd..f33ed22 100644
--- a/litterbox.c
+++ b/litterbox.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019  C. McEnroe <june@causal.agency>
+/* Copyright (C) 2019  June McEnroe <june@causal.agency>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
diff --git a/scoop.1 b/scoop.1
index 62e0ba2..8687e5d 100644
--- a/scoop.1
+++ b/scoop.1
@@ -245,7 +245,7 @@ The default is
 .El
 .
 .Sh AUTHORS
-.An June Bug Aq Mt june@causal.agency
+.An June McEnroe Aq Mt june@causal.agency
 .
 .Sh BUGS
 Send mail to
diff --git a/scoop.c b/scoop.c
index e3c3d24..73aeb89 100644
--- a/scoop.c
+++ b/scoop.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019  C. McEnroe <june@causal.agency>
+/* Copyright (C) 2019  June McEnroe <june@causal.agency>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
diff --git a/unscoop.1 b/unscoop.1
index 1efddd5..ddb0fb5 100644
--- a/unscoop.1
+++ b/unscoop.1
@@ -153,7 +153,7 @@ xargs -0 unscoop -f znc
 .Xr litterbox 1
 .
 .Sh AUTHORS
-.An June Bug Aq Mt june@causal.agency
+.An June McEnroe Aq Mt june@causal.agency
 .
 .Sh BUGS
 Send mail to
diff --git a/unscoop.c b/unscoop.c
index 35e25a9..a290831 100644
--- a/unscoop.c
+++ b/unscoop.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019  C. McEnroe <june@causal.agency>
+/* Copyright (C) 2019  June McEnroe <june@causal.agency>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -533,6 +533,8 @@ int main(int argc, char *argv[]) {
 		}
 
 		for (ssize_t len; 0 < (len = getline(&line, &cap, file));) {
+			if (len >= 1 && line[len-1] == '\n') line[len-1] = '\0';
+			if (len >= 2 && line[len-2] == '\r') line[len-2] = '\0';
 			matchLine(format, regex, line);
 			sizeRead += len;
 			if (100 * sizeRead / sizeTotal != sizePercent) {
diff --git a/xdg.c b/xdg.c
index c04e317..e5d9232 100644
--- a/xdg.c
+++ b/xdg.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019, 2020  C. McEnroe <june@causal.agency>
+/* Copyright (C) 2019, 2020  June McEnroe <june@causal.agency>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by