Hi, I have a script which greps for a word in a file contains records. I grabbed a particular column & sent the colomn values to a file. I need to find each column value, the times it appeared in the file. My script is: grep sceneority <file> | cut -f 6 >> swi I am stuck at how to find the occurance of column values in "swi" file. Plz help me. Ex: The file has following column values: 123 324 123 123 435 435 The output should be 123 is 3 times 324 is 1 time 435 is 2 times Thanks & Regards, Pradeep.
Meet people who discuss and share your passions. Go to http://in.promos.yahoo.com/groups/bestofyahoo/