13

keep only pairs

view full story
linux-howto

http://www.unix.com – Hi, I am trying to paste together two files which are like this- Code: 1 2 4 and Code: 2 3 4 The paste command would work by default for this case, but when there are cases where the number of entries are different in each file. for eg: Code: 1 3 and Code: 1 3 4 I want to make it such that the odd entry is removed and put these two together. Is there a way to do it using sed or awk :wall: Thanks (HowTos)