Created
March 6, 2023 04:20
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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