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
  • 1
    Apologies - thanks awk '/entry/{print $2}' input_file does exactly what I'm looking for Commented May 20, 2022 at 9:25
  • @laurencew awk '/RTR/{print $2}' file . Same solution as provided earlier. Commented May 20, 2022 at 9:38
  • 1
    @HatLess yes thanks that work perfectly, I tried way too complicated solutions for a simple task Commented May 20, 2022 at 9:40