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
  • Welcome to the site. Your post is not entirely clear, e.g. you have 0:820 in your first output example, but comma-separation for the first two fields in the rest; is that a typo? Is it correct to say that you want to prepend the strings with the last two .-separated fields, but comma-separated? What about the \ , is that really there? Does it need to be sed, or is awk a valid alternative? Commented Jun 15, 2020 at 12:18
  • we all asume :820 is a typo and should be ,820 (comma 820), is this right ? Commented Jun 15, 2020 at 12:42
  • @Archemar yes that's right, it should be ,820 (comma 820). I updated the question. Commented Jun 15, 2020 at 12:47