LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to loop or sort in bash, awk or sed? (https://www.linuxquestions.org/questions/programming-9/how-to-loop-or-sort-in-bash-awk-or-sed-228479/)

j4r0d 09-09-2004 03:08 AM

How to loop or sort in bash, awk or sed?
 
Hi i have a problem in one of my modules. I have a file which contains different entries that are stored in such a way that there is only one entry per line. Unfortunately, there are line entries that are similar to the other lines which is therefore making the other entries redundant :confused: so what i plan to do is to make "sort" or "loop" function to make the file contain unique entries only. any ideas? thank you so much! :D

elsheikhmh 09-09-2004 03:22 AM

i think "man sort", and "man uniq" are your firends

mustafa


All times are GMT -5. The time now is 05:59 PM.