OS Manuals

/usr/bin/expect

Tcl-based tool for automating interactive terminal programs, providing the expect interpreter and the Expect Tcl extension

From expect 6.0_alpha2-r1 (os), captured 2026-11-09 by running expect -help (exit 1). permalink

/usr/bin/expect: invalid option -- 'h'
usage: expect [-div] [-c cmds] [[-f] cmdfile] [args]

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.