awk oneliners
Remove consecutive lines where the 2nd item is the same:
1 | awk '{if($2 != v) print $0; v=$2}' |
My contribution to the increasing entropy, and eventual heat death of the universe
Remove consecutive lines where the 2nd item is the same:
1 | awk '{if($2 != v) print $0; v=$2}' |
My name is Nava Whiteford. I’ve worked for a few sequencing companies. I have equity in a few sequencing companies based on my previous employment (I try to be unbiased in my posts). You can contact me at: new@sgenomics.org