Search Results

Search: Posts Made By: frederik.nosi
1,760
Posted By frederik.nosi
Try this: ( was before edit ) cat...
Try this:

( was before edit )
cat input.txt | tr ',' ' ' | sort -u -k1,1

( after edit)
tr ',' ' ' < input.txt | sort -u -k1,1 | tr ' ' ','

As for your example:

$ cat input.txt ...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy