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
  • i have different OID i have three ( description,ifname,ifindex) pliz look to the output that i want following to this link :unix.stackexchange.com/questions/198137/… Commented Apr 24, 2015 at 13:06
  • OK, I updated the answer to reflect more of what I think you want. My answer uses the traditional format...write functionality of perl (which was there since the 1980s!). Commented Apr 24, 2015 at 15:43
  • i am trying to execute the script i have an error ** line 26, near "print"** so i think the ipfile is unreachable how i can put the path for txt file to take it this is what i put in the script :$input_file= "/home/scripts/IP_ALU_LIST.txt" thankyou for your help Commented Apr 27, 2015 at 9:39