Skip to content

Instantly share code, notes, and snippets.

@FranklyFuzzy
Created May 25, 2023 20:12
Show Gist options
  • Save FranklyFuzzy/33ccc9834dc21e6371e09fa3af46d305 to your computer and use it in GitHub Desktop.
Save FranklyFuzzy/33ccc9834dc21e6371e09fa3af46d305 to your computer and use it in GitHub Desktop.
grabs CVEs from file, removes dupes, and outputs to new file.
grep -E -o 'CVE-[0-9]{4}-[0-9]{1,5}' test.csv | sort | uniq | sort > output.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment