Created
July 28, 2020 15:26
-
-
Save kaicode/0c1e3f2b6633d86e103cf37421d5a5ea to your computer and use it in GitHub Desktop.
Remove duplicate RF2 states with known effective time. (gsed is Gnome SED installed on MacOS)
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
file=der2_cRefset_LanguageDelta-en_INT_20200731.txt | |
effectiveTime=20200309 | |
for id in `cut -f1 $file | sort | uniq -d`; do echo ${id}; gsed -i "/$id\t${effectiveTime}\t.*/d" $file; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment