http://www.perlmonks.org?node_id=1031246


in reply to Re: ignore duplicates and show unique values between 2 text files
in thread ignore duplicates and show unique values between 2 text files

Hi kennethk, I am unsure on how to "reply to all" But can the script be modified to take account of two columns i.e

FILE 1

261293 'snow > equipment' 261293 'snow > equipment > boots' 261293 'snow > equipment > facemasks' 261293 'snow > equipment > goggles' 261293 'snow > equipment > helmets' 261293 'surf > accessories > books'

FILE 2

261293 'snow > equipment' 261293 'snow > equipment > boots' 261293 'snow > equipment > facemasks' 261293 'snow > equipment > goggles' 261293 'surf > accessories > books'

OUTPUT

261293    'snow > equipment > helmets'

The two columns are separated by Tab, is this possible?

Thank you