Sample Header Ad - 728x90

How to print lines from file a file in a way of sequence i.e. sorted on basis of a specific column inside tcl script?

1 vote
2 answers
1240 views
I want to print the file content based on sorting the 3rd column of sourcefile. sourcefile.txt: Manav Kumaom Fre shailesh himadri aif manisha Kailash mac Ravi Jwala blu Prakash Ojha Zan Mahi Aulakh yep I want to print the file content sorted on the basis of 3rd column in a new file: Required output: shailesh himadri aif Ravi Jwala blu Manav Kumaom Fre manisha Kailash mac Mahi Aulakh yep Prakash Ojha Zan
Asked by Manisha Kuhar (67 rep)
Jun 18, 2020, 08:43 AM
Last activity: Jun 19, 2020, 05:03 PM