need Shell script for Sort BASED ON FIRST FIELD and PRINT THE WHOLE FILE WITHOUT DUPLICATES

Can some one provide me a shell script.

I have file with many columns and many rows. need to sort the first column and then remove the duplicates records if exists.. finally print the full data with first coulm as unique.

Sort BASED ON FIRST FIELD and remove the duplicates if exists then finally PRINT THE WHOLE FILE WITHOUT DUPLICATES.. send outout to new file...

please help me.

Is this related to your other post? If so, please post this explanation there. Otherwise, what have you tried so far?

This is the same question you posted here as user johninweb:

http://www.unix.com/shell-programming-scripting/133318-nawk-scripting-sort-data-based-first-field.html

If the answers are not what you expect mention that and don't double post questions.

Please read our rules

Thread closed.