Skip to content

Instantly share code, notes, and snippets.

@dewomser
Created March 6, 2023 04:20
Show Gist options
  • Save dewomser/279a1fa95dff18b66cf8ff7d255508e8 to your computer and use it in GitHub Desktop.
Save dewomser/279a1fa95dff18b66cf8ff7d255508e8 to your computer and use it in GitHub Desktop.
List all mastodon user who contains "bash" in name or address . A Bash 1-liner
# userlist only address :
toot search bash | grep ^* |awk '{print $2}'
# userlist and profile advanced :
readarray -t tooter_array <<<"$(toot search bash | grep ^* |awk '{print $2}')" && for i in "${tooter_array[@]}"; do echo -e "$(toot whois $i) \n ------------------\n";done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment