I know a little bash, but I have to deal with the problem of filtering the file. I will explain an example:
For a text file such as the following (file1):
10.10.12 bib24 Avenger goodone 10.10.12 bib21 The_Dark_Knight_Rises betterone 10.10.12 bib53 Avenger goodone 10.10.12 bib35 Ice_Age wow 11.10.12 bib53 TheAmazingSpiderMan nice 11.10.12 bib54 TheAmazingSpiderMan nice 11.10.12 bib01 Avenger goodone 12.10.12 bib29 Avenger goodone 12.10.12 bib11 TheAmazingSpiderMan nice 12.10.12 bib03 Ice_Age wow 12.10.12 bib98 Ice_Age wow 14.10.12 bib12 Ice_Age wow
This is the result I want (file2):
10.10.12 bib24 Avenger goodone 10.10.12 bib21 The_Dark_Knight_Rises betterone 10.10.12 bib35 Ice_Age wow 11.10.12 bib53 TheAmazingSpiderMan nice
So my question is: which command to use to get this result (file2)? (i.e. the first entry into the movie, not taking into account columns / fields 1, 2, and 4).
I hope this is clear enough.
source share