Search Results

Search: Posts Made By: himanshu
1,793
Posted By himanshu
Dear Mr. Don, thank you very much helping me in...
Dear Mr. Don, thank you very much helping me in this regard.
Regards
Himanshu
1,793
Posted By himanshu
@Vgersh99: Thank you very much. The code is...
@Vgersh99: Thank you very much. The code is working perfectly fine.
1,793
Posted By himanshu
code tags, please!
I am not able to increase the column 6 value. Every time it is print 2 in the column 6.

awk 'NR == FNR {CNT[$NF]++; next} CNT[$NF] > 1 {print $0, CNT[$NF]}' file1 file1

Output I am getting....
1,793
Posted By himanshu
Count Repetitive Number in a column and renumbering using awk
Unable to get the desired output. Need only the rows which has repeated values in column 5.

Input File <tab separated file>
chr1 3773797 3773797 CEP10 1
chr1 3773797 3773797 CEP104 2...
Showing results 1 to 4 of 4

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