|SCOOP(1)||General Commands Manual||SCOOP(1)|
scoop — query IRC
scooputility queries the litterbox(1) IRC log database, matching events on the intersection of the criteria specified in arguments.
If standard output is a terminal, colored output is piped to
LESS=FRX if it is
not already set.
The arguments are as follows:
- Match events which occurred on date, of the format YYYY-MM-DD.
- Format timestamps using the format string, similar to strftime(3). The default format is "%Y-%m-%dT%H:%M:%S".
- Output timestamps in local time and interpret timestamps in
-bas local time.
- Match events from network.
- Instead of performing a query, launch the sqlite3(1) shell for the database.
- Match events (of type
unban) with the target nickname or mask target.
- Match events which occurred after time, of the format YYYY-MM-DD HH:MM:SS.
- Match events which occurred before time, of the format YYYY-MM-DD HH:MM:SS.
- Match events from context, either a channel or query name.
- Set the database path. The default path is as in litterbox(1).
- Set the output format to one of
irc. The default format is
colorif standard output is a terminal,
ircformat outputs events as IRC protocol with server-time tags.
- Group events by network and channel or query name. Implies
- Match events from users with the hostname host.
- Use case-insensitive regular expression matching with
- Limit the number of events matched, ordered by most recently inserted.
- Match events with messages matching the modern regular expression
re_format(7). To match
case-insensitively, use with
- Match events from users with the nickname nick.
- Match only events from channels.
- Match only events from queries.
- Output results in reverse order.
- Sort the results from oldest to newest. By default events are output in the order they appear in the database.
- Match events of the comma-separated list of types.
The types are
- Match events from users with the username user.
- Print the expanded SQL query being used to standard error.
- Add the SQL expression expr to the WHERE clause of the query.
- Match events using full-text search. The searchable columns are
- The command to pipe terminal output to. The default is
June Bug <email@example.com>
Send mail to
|May 18, 2021||OpenBSD 7.0|