Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sfouant

  1. sfouant

    Running shell commands from within Perl

    Hi folks, I'm trying to perform the following function within Perl: @ret=system("/bin/rtr_cmd1 $rtr_name \"show bgp summary\" | sed -e 's/\([0-7]d\) \([0-9]\)/\1\2/gi ; s/Last Up/Last_Up/gi'"); print @ret; When I run the command through the shell, as in: shell# /bin/rtr_cmd1 rtreqab "show...

Part and Inventory Search

Back
Top