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*

13
  • The idea is to process every string in the file as though the file were an array, without processing lines. Commented Nov 16, 2012 at 13:06
  • @AleksandarHadjikan Okay, edited. Commented Nov 16, 2012 at 13:28
  • This is very good. Is there a way to send an index to awk to specify which word to print out? Commented Nov 16, 2012 at 13:57
  • @AleksandarHadjikan Added it to my answer. Commented Nov 16, 2012 at 14:11
  • 1
    @AleksandarHadjikan It really sounds like you are going about this the complete wrong way. It would be much better not to do that. Commented Nov 16, 2012 at 16:22