DOKK / manpages / debian 13 / tcl9.0-doc / gets.3tcl.en
gets(3tcl) Tcl Built-In Commands gets(3tcl)


gets - Read a line from a channel

gets channel ?varName?


The gets command has been superceded by the chan gets command which supports the same syntax and options.

chan(3tcl)

7.5 Tcl