Skip to main content
10 events
when toggle format what by license comment
Aug 25, 2017 at 20:27 comment added Rob @RomanPerekhrest you are correct. I typed it fast :) I think I was going to go more the route Kusalananda did, but changed my mind in the middle
Aug 25, 2017 at 20:12 comment added RomanPerekhrest no sense to put captured group here sed 's/\(.[0-9]\+\) / /' if it's not used
Aug 25, 2017 at 20:07 comment added Rob @Roli I updated my pattern to account for tabs. :) like my comment says above if the pattern ENSG followed by 11 digits then Kusalananda's solution is more precise.
Aug 25, 2017 at 20:05 comment added Rob @Kusalananda method works too :) if you know that the ENSG.... pattern is exactly that it is a better, more precise matching solution.
Aug 25, 2017 at 20:03 history edited Rob CC BY-SA 3.0
added 85 characters in body
Aug 25, 2017 at 20:00 comment added Rob yeah that is most likely what is happening.
Aug 25, 2017 at 19:58 comment added Roli I have edited in my original question, in my file both columns are tab separated
Aug 25, 2017 at 19:57 comment added Egor Vasilyev This command will not work if used TAB between columns
Aug 25, 2017 at 19:51 comment added Roli This is doing exactly opposite on my data. This is removing the everything after '.' from second column and not on first column.
Aug 25, 2017 at 19:44 history answered Rob CC BY-SA 3.0