[SunHELP] grep unique values


Thu Jul 25 14:12:27 CDT 2002


I need help to grep a large file containing directory 
paths which are highly repeated values to list just
one occurence of each unique value.
ie. file contains:
  /luser
  /usr
  /usr
  /luser
  /temp
  /temp
grep only to return /user, /usr, /temp.

purpose is to make sure the directories are created on a 
remote machine prior to data transfer.

thanks



More information about the SunHELP mailing list