Answer by hek2mgl for Filter duplicates in file by using columns as...
Why don't you simply use good old grep? It should be basically:grep '#type' *.ntTo avoid duplicates in the objectN part you can use uniq with the --skip-fields option:grep '#type' *.nt | sort -k3,3 |...
View ArticleFilter duplicates in file by using columns as parameters (grep linux)
I am looking for the pattern #type in a set of files. As output I should return the lines containing that pattern. The lines are organized as columns with tab separator:<subject1> <#type>...
View Article
More Pages to Explore .....