chatstat4tgclidump

From NAT, 6 Years ago, written in Bash, viewed 437 times.
URL https://code.nat.moe/view/e6f568df Embed
Download Paste or View Raw
  1. #!/bin/bash
  2. {
  3.         [[ -z $1 ]] && cat *.jsonl || cat *.jsonl | grep -Ei "$1"
  4. } | awk -F'username":"' '{print $2}' | cut -d'"' -f1 | sort | uniq -c \
  5.   | sort -nr | awk '{printf("%s: %s\n",$2,$1)}END{print}'

Reply to "chatstat4tgclidump"

Here you can reply to the paste above

captcha