Search Results

Search: Posts Made By: Harrisham
1,850
Posted By Harrisham
Thanks for the reply! I understand that...
Thanks for the reply!
I understand that scripting somehow fails to work on such kind of lists. I used hashed arrays in perl to do the same.

Thanks :)
1,850
Posted By Harrisham
The common pattern is the occurrence of a number...
The common pattern is the occurrence of a number say '2' in multiple lines i.e with line starting with '1' and the line stating with '10'. Similarly, occurrence of number '12' in two lines stating...
1,850
Posted By Harrisham
Join common patterns in multiple lines into one line
Hi

I have a file like
1 2
1 2 3
1 5 6
11 12
10 2
7 5
17 12

I would like to have an output as

1 2 3 5 6 10 7
11 12 17

any help would be highly appreciated
Thanks
Showing results 1 to 3 of 3

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