SCOOP(1)

πŸ“¦ version 1.9, in nixos 26.05, nixpkgs unstable

πŸŽ€ 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 format YYYY-MM-DD. πŸ—“οΈ
  • -F format β€” format timestamps using the format string, similar to strftime(3). The default format is "%Y-%m-%dT%H:%M:%S". ⏰
  • -L β€” output timestamps in local time and interpret timestamps in -D, -a and -b as local time. 🌍
  • -N network β€” match events from network. 🌐
  • -S β€” instead of performing a query, launch the sqlite3(1) shell for the database. 🐚
  • -T target β€” match events (of type kick, nick, ban or unban) with the target nickname or mask target. 🎯
  • -a time β€” match events which occurred after time, of the format YYYY-MM-DD HH:MM:SS. ⏳
  • -b time β€” match events which occurred before time, of the format YYYY-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 in litterbox(1). πŸ“
  • -f format β€” set the output format to one of plain, color or irc. The default format is color if standard output is a terminal, plain otherwise. The irc format 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. See re_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 are privmsg, 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 the WHERE clause of the query. 🧩
  • search β€” match events using full-text search. The searchable columns are network, channel, query, nick, user, target, message. πŸ”

🌸 ENVIRONMENT 🌸

  • PAGER β€” the command to pipe terminal output to. The default is PAGER=less. 🫢

πŸ”₯ SEE ALSO πŸ”₯

πŸ‘‘ 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