The output of 'sh run | i boot' shows 2 boot statements set in router. But i need to write a script which will check if '........9.16.12.04.SPA.bin' is present specifically in 1st line followed by '.......9.16.06.04.SPA.bin' specifically in 2nd line.
I know to write a script to check if both these lines are persent or not. But my challenge is that i need to check if '........9.16.12.04.SPA.bin' is present specifically in 1st line and so on. How do i do that? ROUTER#sh run | i boot boot system flash bootflash:isr4300-universalk9.16.12.04.SPA.bin boot system flash bootflash:isr4300-universalk9.16.06.04.SPA.bin Thanks, Vikram -- 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-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/bc23196e-8ea6-461f-b1da-f0ffa234347dn%40googlegroups.com.