Is there a way to use sort -u to sort a file and remove all duplicate lines but the sorting should only apply after the first line (i.e, the first line will always remain the first line whatever sorting is done below).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.