Reputation
Next tag badge:
92/100 score
23/20 answers
Badges
10 82 161
Impact
~2.7m people reached

13h
comment How to sort file by character occurrences per line?
OK, it's still sorted before the a.
1d
comment How to sort file by character occurrences per line?
I deleted them since I added it to your answer. It's not sorting b before a but space (which is the first field for lines without a) before a.
1d
revised How to sort file by character occurrences per line?
added 9 characters in body
1d
answered How to sort file by character occurrences per line?
1d
revised Format sar samples live with paste and awk
Fixed formatting
1d
comment Check number of words in a file that contain a specific letter
@Colin'tHart um. Yes. Indeed it will. Thanks, no idea what I was thinking there.
1d
revised Check number of words in a file that contain a specific letter
deleted 128 characters in body
1d
comment Issue with ':' character in Bash script over SSH
You're quite right, my approach (escaping the :) didn't work. I could have sworn I tested this yesterday and saw that it worked but I certainly can't reproduce it now. Thanks for pointing it out, I deleted my answer.
2d
answered Why do awk split() make first field to be last element in array?
2d
answered Check number of words in a file that contain a specific letter
2d
comment Running Kali but aircrack not working
Please use code formatting and not quotes for code. Check that my edit is correct. Don't use such sophomoric humor here, this is not the place for it.
2d
revised Running Kali but aircrack not working
Attempted to fix formatting and removed sophomoric humor
2d
comment Commands for Chromosome sequence in Unix
Please edit your answer and give an example of your sequence file and desired output. I assume you have the genome in a multifasta file with each chromosome as a separate sequence. Is that correct?
2d
answered Extract specific value from block of data
2d
comment Extract specific value from blocks of data
This doesn't get the block of data. It will only print the <gc... line. The OP wants everything from that line to the </gc> tag.
2d
comment Extract specific value from blocks of data
What if the highest id value is not the last block? Do you always want the last block, whatever its value, or do you always want the highest value, whatever its position?
2d
comment Append mth and nth columns of a file with the columns of another file
FNR is new? Are you sure? I've seen it for years. In any case, you're already using it, I'm just saying that the NR>FNR is not needed since you already have FNR==NR{...; next}.
2d
answered Operating System not found after installing Redhat 6 on Windows 7
2d
comment Append mth and nth columns of a file with the columns of another file
@Archemar why are you splitting $0? awk already does that for you; also, there's no need for NR > FNR, the next does that already. See the version in my answer.
2d
comment Append mth and nth columns of a file with the columns of another file
@Murat that's not what he told you to run. Make sure you copy/paste the solution directly into the terminal. Running what you show in your comment should have produced error messages.