git-nostr-tools

git nostr tools
git clone git://jb55.com/git-nostr-tools
Log | Files | Refs

commit 360c6609ae47d70be56969b03be30070f937b854
parent 1699931ab8992f679ff224e8ae8890ede1264538
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 19 Nov 2022 10:52:30 -0800

show: remove duplicates

Diffstat:
Mgit-show-nostr | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-show-nostr b/git-show-nostr @@ -100,7 +100,7 @@ if [ -z $writeout ]; then outname=$(mktemp) fi -echo "$fullquery" | $NOSTR_RELAYER $relay | jq -c '.[2]' > "$outname" +echo "$fullquery" | $NOSTR_RELAYER $relay | sort -u | jq -c '.[2]' > "$outname" if [ ! -z $writeout ]; then printf "saved results to %s\n" "$outname" >&2