Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Thanks Olivier, I have put it into a bash script, but I get only one class repeated several times as output. The input files is tab separated and the third column is the type. The second one is text. But thanks to be so quick! Commented Apr 20, 2017 at 12:49
  • 1
    sorry I put $3 instead of i in the END section.... so you only saw the last one... Commented Apr 20, 2017 at 14:07
  • Thank you! I have tested it against real data, and it works, but both having some issues with quotes. See above comment. Commented Apr 26, 2017 at 13:02