SCOOP(1)
π scoop(1) β General Commands Manual π
β¨ NAME β¨
scoop β query IRC logs π¬β¨
π¦ SYNOPSIS π¦
scoop [-Lgipqrsv] [-D date] [-F format] [-N network] [-T target]
[-a time] [-b time] [-c context] [-d path] [-f format] [-h host]
[-l limit] [-m regexp] [-n nick] [-t type] [-u user] [-w expr]
[search]
scoop -S
π DESCRIPTION π
okay so the scoop utility queries the litterbox(1) IRC log database, matching events on the intersection of the criteria specified in arguments. bestie, that means all your filters gotta line up at once π
.
If standard output is a terminal, colored output is piped to PAGER with LESS=FRX if it is not already set.
The arguments are as follows:
-D dateβ match events which occurred on date, of the formatYYYY-MM-DD. ποΈ-F formatβ format timestamps using the format string, similar tostrftime(3). The default format is"%Y-%m-%dT%H:%M:%S". β°-Lβ output timestamps in local time and interpret timestamps in-D,-aand-bas local time. π-N networkβ match events from network. π-Sβ instead of performing a query, launch thesqlite3(1)shell for the database. π-T targetβ match events (of typekick,nick,banorunban) with the target nickname or mask target. π―-a timeβ match events which occurred after time, of the formatYYYY-MM-DD HH:MM:SS. β³-b timeβ match events which occurred before time, of the formatYYYY-MM-DD HH:MM:SS. β-c contextβ match events from context, either a channel or query name. π¬-d pathβ set the database path. The default path is as inlitterbox(1). π-f formatβ set the output format to one ofplain,colororirc. The default format iscolorif standard output is a terminal,plainotherwise. Theircformat outputs events as IRC protocol with server-time tags. π¨-gβ group events by network and channel or query name. Implies-s. π§Ί-h hostβ match events from users with the hostname host. π-iβ use case-insensitive regular expression matching with-m. π-l limitβ limit the number of events matched, ordered by most recently inserted. Implies-s. π¦-m regexpβ match events with messages matching the modern regular expression regexp. Seere_format(7). To match case-insensitively, use with-i. π-n nickβ match events from users with the nickname nick. π·οΈ-pβ match only events from channels. π’-qβ match only events from queries. π€«-rβ output results in reverse order. π-sβ sort the results from oldest to newest. By default events are output in the order they appear in the database. π-t typesβ match events of the comma-separated list of types. The types areprivmsg,notice,action,join,part,quit,kick,nick,topic,ban,unban. π·οΈ-u userβ match events from users with the username user. π€-vβ print the expanded SQL query being used to standard error. πͺ΅-w exprβ add the SQL expression expr to theWHEREclause of the query. π§©searchβ match events using full-text search. The searchable columns arenetwork,channel,query,nick,user,target,message. π
πΈ ENVIRONMENT πΈ
PAGERβ the command to pipe terminal output to. The default isPAGER=less. π«Ά
π₯ SEE ALSO π₯
litterbox(1)π- Date and Time Functions:
https://www.sqlite.org/lang_datefunc.htmlβ±οΈ - Full-text Query Syntax:
https://www.sqlite.org/fts5.html#full_text_query_syntaxπ
π AUTHORS π
Authored by June McEnroe <june@causal.agency> β yes, that's the whole credit, bestie. π
π BUGS π
Send mail to β¨list+litterbox@causal.agencyβ© or join #ascii.town on irc.tilde.chat. βοΈ
π«Ά That's the SCOOP(1) manual from Debian, dated May 18, 2021 β signing off, bestie. π
β¨
π¦ where this page comes from
- nixos 26.05: litterbox 1.9
- nixpkgs unstable: litterbox 1.9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms