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*

6
  • Please share your output file content Commented Dec 16, 2020 at 17:49
  • Applied those, still, the value is not passed. to the |awk -v ip="$ip", while debugging shows no value. when I echo this variable in the loop it exists, so the passing is the problem here. Commented Dec 16, 2020 at 17:51
  • Share output_file content ? or an example ? Commented Dec 16, 2020 at 17:54
  • /ip/ wont work within awk either, see the link steeldriver shared in the comments Commented Dec 16, 2020 at 17:57
  • @RedaSalih updated the question with the output file Commented Dec 16, 2020 at 17:59