Things I am not proud of: grep -oG ‘F=<.*> ' file.txt | sed ’s/F=//g’ | sed ’s/<//g' | sed ’s/>//g' | sort -u #unix #regex #sed #grep