Search Results

Search: Posts Made By: Bhavi
1,815
Posted By bharat1211
Try This.. awk -F"#" '{ arr[$1]=$0;} ...
Try This..


awk -F"#" '{ arr[$1]=$0;}
END{ for(v in arr) print arr[v]}' sample.txt


Output


three.zip#three.pdf#three.jpeg#1
one.zip#one.pdf#one.jpeg#1...
Showing results 1 to 1 of 1

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