• Support
  • Articles
  • Resources
  • Products
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead

How to put a content of a string on variable

Moderator: boris

5 postsPage 1 of 1

filegam
Newbie

Posts:
9
Joined: Thu Feb 07, 2013 4:53 pm
by filegam » Mon Nov 14, 2016 6:24 pm
dpena
Coach

Posts:
144
Joined: Thu Jul 09, 2009 6:14 pm
by dpena » Mon Nov 14, 2016 11:54 pm
filegam
Newbie

Posts:
9
Joined: Thu Feb 07, 2013 4:53 pm
by filegam » Tue Nov 15, 2016 4:21 pm
Hello Dpena,

Thanks for your reply,

Note that the list is not in sequence

But in fact what I would like is to have a list with the network elements and their addresses, and i need make a telnet for them without having to worry about the ip address ,

I have other elements but isn't in sequence, for exemple

dm3001 =' telnet 10.10.14.23'
dm4000 =' telnet 10.20.14.23'
dm4001 =' telnet 10.10.14.23'
dm4004 =' telnet 10.30.14.23'
dm880 =' telnet 10.40.14.23'

I would like to enter the name of the element , search in table above and make telnet to ip of it, like a dns,

thanks,
Best Regards,
Magno
IshmaelCallMe
Guru

Posts:
674
Joined: Thu Jan 26, 2006 2:28 am
by IshmaelCallMe » Tue Nov 15, 2016 9:06 pm
I think the only way to do that kind of indirection in TeraTERM is via the execcmnd command.

sprintf2 com "msg=%s" B
execcmnd com

Should do the trick.
filegam
Newbie

Posts:
9
Joined: Thu Feb 07, 2013 4:53 pm
by filegam » Wed Nov 16, 2016 1:20 pm
Display posts from previous:
Sort by:

5 postsPage 1 of 1

Users browsing this forum: No registered users