Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about expect

Read more about expect

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - expect

Not able to erase from input buffer when the line wraps (pexpect)

I am using a script to connect to another server. The skeleton looks something like this: import pexpect ... child = pexpect.spawn(f"""ssh {username}@{host}""") child.set...
test-img

Saif

python

expect

paramiko

pexpect

pxssh

Votes: 0

Answers: 0

Prints out array using Tcl Expect script within Bash script

Hope someone out there with knowledge on Tcl, Expect and Bash able to guide me for following below: I am trying to print out user inputs on each line using a for loop and array till EOF (end of file) ...
test-img

Yong

shell

tcl

expect

Votes: 0

Answers: 1

Latest Answer

Consider Donal's advice: this doesn't need to be a mixed-language program. However: First, use bash's readarray command that reads lines of input into an array: replace the bash while loop with this o...
test-img

glenn jackman

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved