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*

4
  • Nice homework =) Commented Mar 25, 2013 at 21:58
  • @sputnick I'm not asking somebody to do this for me, but a nudge in the right direction would help. I did fine figuring out how to work with awk, considering how terrible my teacher is, but with sed I'm just totally lost. Commented Mar 25, 2013 at 22:06
  • 1
    @Matt awk is a much better tool for the job, so it makes sense you didn't struggle with that is much. Commented Mar 25, 2013 at 22:38
  • Unfortunately we have to fully answer the question. While it may be homework, and asking for the answer is considered cheating, if we only provide a 'nudge', someone else in the future might really need the full answer. Commented Mar 25, 2013 at 23:11