in reply to Re: Empty string checking in output
in thread Empty string checking in output
tulic , i tried that but the else block is not executing. i can explain the behavior of the cisco device if a particular command is not present... if i telnet into cisco device it will show as
here at this prompt i want to check one command i.e2960#
if the configuration is not present then it will show as same2960#sh run | in ntp
so at this time the in array @output doesn't contain anything but i dont know why the else block is not executing2960#
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Empty string checking in output
by AnomalousMonk (Archbishop) on Aug 17, 2011 at 06:32 UTC | |
by Kumar Mantri (Novice) on Aug 17, 2011 at 09:12 UTC | |
by AnomalousMonk (Archbishop) on Aug 17, 2011 at 13:56 UTC | |
by Kumar Mantri (Novice) on Aug 18, 2011 at 13:38 UTC | |
by AnomalousMonk (Archbishop) on Aug 18, 2011 at 17:43 UTC |