Created
September 23, 2018 19:44
-
-
Save MitarashiDango/53e49ad5686919a1213236c49f7fe58b to your computer and use it in GitHub Desktop.
認識済みインスタンスのドメイン一覧を出力するやつ
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
psql -t -c "SELECT domain FROM accounts WHERE domain <> '' GROUP BY domain ORDER BY domain ASC" "mastodon" | awk '{ sub(/^[ \t]+/, "") }1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment