shell: run command based on regexp pattern
#1
Original Poster

Join Date: Sep 2003
Location: Reading, PA
Programs: US lowlife
Posts: 2,006
shell: run command based on regexp pattern
here's a shell question fer ya'll.
for a *NIX shell, based on a regexp pattern, can the shell be smart enough to execute a command based on that?
For instance, if you're doing a ton of sshing or telnetting to devices with a similar device schema (xxxx-nodey) can the shell interpret this as to telnet to that specific node?
Thx all!
-JC
for a *NIX shell, based on a regexp pattern, can the shell be smart enough to execute a command based on that?
For instance, if you're doing a ton of sshing or telnetting to devices with a similar device schema (xxxx-nodey) can the shell interpret this as to telnet to that specific node?
Thx all!
-JC
#2


Join Date: Apr 2003
Location: RDM
Programs: UA General Member
Posts: 1,247
Originally Posted by jcooke
here's a shell question fer ya'll.
for a *NIX shell, based on a regexp pattern, can the shell be smart enough to execute a command based on that?
For instance, if you're doing a ton of sshing or telnetting to devices with a similar device schema (xxxx-nodey) can the shell interpret this as to telnet to that specific node?
Thx all!
-JC
for a *NIX shell, based on a regexp pattern, can the shell be smart enough to execute a command based on that?
For instance, if you're doing a ton of sshing or telnetting to devices with a similar device schema (xxxx-nodey) can the shell interpret this as to telnet to that specific node?
Thx all!
-JC

