fetch specific lines from file

7 views
Skip to first unread message

Akshay Jadhav

unread,
Mar 1, 2022, 2:08:26 AM3/1/22
to Ansible Project
Hi Guys,
I want to fetch only few lines from "show version" output . I have attached image of required output can someone please help how to fetch these line because line no. is not fix. Thank you in advance.Capture11.PNG

Dick Visser

unread,
Mar 1, 2022, 2:26:54 AM3/1/22
to ansible...@googlegroups.com
What is your goal?
What do you want to do with those lines?

On Tue, 1 Mar 2022 at 08:08, Akshay Jadhav <aksha...@gmail.com> wrote:
Hi Guys,
I want to fetch only few lines from "show version" output . I have attached image of required output can someone please help how to fetch these line because line no. is not fix. Thank you in advance.Capture11.PNG

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/396f75f4-2ae7-464e-9e20-edbac2a64a9an%40googlegroups.com.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.
Reply all
Reply to author
Forward
0 new messages