Hy all, I have a file with 100 entries, each 10 entries are the same: entries.txt 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 etc until 100 entries. I need to make a script which read 10 lines check if value is the same and write only an entry on new file new.txt 1 2 3 4 5 6 etc until 10 entries Some hints exm Thanks