Skip to content

Instantly share code, notes, and snippets.

@masatake
Created January 7, 2020 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masatake/eb26ef65ad196588fac18de33fa71b2a to your computer and use it in GitHub Desktop.
Save masatake/eb26ef65ad196588fac18de33fa71b2a to your computer and use it in GitHub Desktop.
repoquery -q -a --show-duplicates --queryformat "%{name}-%{version}-%{release} ${epoch}\n" | sort -u
declare -A MAP; while read nvr e; do MAP["$nvr"]="$e"; done < <(repoquery -q -a --show-duplicates --queryformat "%{name│·······························································································
}-%{version}-%{release} %{epoch}" | sort -u)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment