Is this a homework assignment? How many names are in the list?
On Sunday, April 29, 2018 01:43:34 PM Rodolfo Medina wrote: > Suppose I have a file made by a list of names and surnames, e.g.: > > Arvo Part > Harold Pinter > Lucio Battisti > Antonio Amurri > Eduardo De Filippo > Eduardo De Filippo > > and that I want them listed all on one line, separated by a comma and > without duplicates, i.e.: > > Arvo Part, Harold Pinter, Lucio Battisti, Antonio Amurri, Eduardo De > Filippo > > How can I do that with proper Unix commands? > > Thanks for any help. > > Rodolfo