about summary refs log tree commit diff
path: root/unscoop.1
diff options
context:
space:
mode:
Diffstat (limited to 'unscoop.1')
-rw-r--r--unscoop.168
1 files changed, 37 insertions, 31 deletions
diff --git a/unscoop.1 b/unscoop.1
index b43fcef..1954f97 100644
--- a/unscoop.1
+++ b/unscoop.1
@@ -22,14 +22,15 @@
 .Sh DESCRIPTION
 The
 .Nm
-utility imports IRC logs into the
+utility imports IRC client logs into the
 .Xr litterbox 1
 database.
-The network and context (channel or query) names
-are inferred from the input file paths,
-so
+The network and channel or query names
+can be inferred from file paths,
+so it is best to run
 .Nm
-should be run from the log directory root.
+from the log directory root
+or use absolute paths.
 .
 .Pp
 The arguments are as follows:
@@ -42,48 +43,54 @@ This operation requires SQLite version 3.25.0 or newer.
 Override the network name of the imported logs.
 .
 .It Fl c Ar context
-Override the context (channel or query) name
-of imported logs.
+Override the channel or query name
+of the imported logs.
+Names beginning with
+.Ql #
+or
+.Ql &
+are assumed to be channels.
 .
 .It Fl d Ar path
-Set the database path.
-The database must have been initialized by
+Set the database path,
+which must have been initialized by
 .Xr litterbox 1 .
 The default path is as in
 .Xr litterbox 1 .
 .
 .It Fl f Ar format
-Set the input log format.
-The default format is
-.Cm generic .
+Set the input log format to one of
+.Cm catgirl ,
+.Cm generic ,
+.Cm irc ,
+.Cm textual .
+.
 .Pp
-The following formats are supported:
-.Bl -tag -width Ds
-.It Cm catgirl
-Logs from the catgirl IRC client.
-.It Cm generic
-Matches paths of the form
+The default format is
+.Cm generic ,
+which matches paths of the form
 .Pa network/context/*
-and messages of the following forms:
+and events of the following forms:
 .Bd -literal -offset indent
 [timestamp] <nick> privmsg
 [timestamp] -nick- notice
 [timestamp] * nick action
 .Ed
-.It Cm irc
-IRC protocol messages tagged with the IRCv3.2
-.Sy server-time
-extension.
-Network and context must be set with
+.
+.Pp
+The
+.Cm irc
+format matches IRC protocol messages tagged with
+.Sy server-time .
+The network and context must be set with
 .Fl N
 and
-.Fl C .
-.It Cm textual
-Logs from the Textual IRC client.
-.El
+.Fl c .
 .
 .It Fl v
-Log SQL to standard error.
+Print SQL
+.Sy INSERT
+statements on standard error.
 .El
 .
 .Sh EXAMPLES
@@ -94,8 +101,7 @@ find Textual -type f -name '*.txt' -not -path '*/Console/*' -print0 \e
 .Ed
 .
 .Sh SEE ALSO
-.Xr litterbox 1 ,
-.Xr scoop 1
+.Xr litterbox 1
 .
 .Sh AUTHORS
 .An June Bug Aq Mt june@causal.agency
span>Switch to jorts Install scriptJune McEnroe 2022-06-08Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe Mixed bag like most collections of short stories. Some of them are pretty good. The author of the worst written story also has the worst written bio. 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe