Search Results

Search: Posts Made By: rachanaPatel
4,125
Posted By rachanaPatel
How to extract an ipaddress and use it in for loop in expect script?
set fid [open ./hosts r]
set content [read $fid]
close $fid

## Split into records on newlines
set records [split $content "\n"]
send "records splited\n"
send $records\n

set a "test\n"...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy