
michaelaz
New User
Nov 29, 2007, 2:03 AM
Post #1 of 2
(1209 views)
|
|
get prompt when it is alreay appeard
|
Can't Post
|
|
hi, i am using telnet module to get all environment varable of an env, i am using the below command that use regular expression in the Prompt property, the prompt should be ">" which is the unix prompt for the env. the problem is that one of the environment variables has the value ">" in it the question is how can i build a regular expression that ask him to search for the first ">" in the line you have the example below thanks. PS1=$host:$TLG_MARKET:"$PWD"> my %hashCommandDetails=("String"=>$strCommand,Prompt=>"/>/","Timeout"=>"60", Errmode=>'return');
|