Search Results

Search: Posts Made By: anjaliANJALI
2,917
Posted By anjaliANJALI
Thankyou. --- Post updated at 06:33 PM --- ...
Thankyou.

--- Post updated at 06:33 PM ---

--- Post updated at 06:35 PM ---

Thankyou so much for your help, it worked.
2,917
Posted By anjaliANJALI
code: perl -lane' ($n, $p) =@F; ...
code:
perl -lane'
($n, $p) =@F;
$s{$n}++ or push @r, $n;
$c{$n}{$p}++ or push @{$h{$n}}, $p;
END {
$" = ",\t";
print "$_\t@{$h{$_}}" for @r;
}
'



It is concatenating...
2,917
Posted By anjaliANJALI
Thankyou, you are right, i have edited my outpur.
Thankyou, you are right, i have edited my outpur.
2,917
Posted By anjaliANJALI
Merging rows based on same ID in First column.
Hellow,


I have a tab-delimited file with 3 columns :


BINPACKER.13259.1.p2 SSF48239
BINPACKER.13259.1.p2 PF13243
BINPACKER.13259.1.p2 G3DSA:1.50.10.20...
Showing results 1 to 4 of 4

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