read(3tcl)

πŸ“¦
version 9.0.4 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

read(3tcl) πŸ’– β€” aka the Tcl Built-In Commands manual, bestie

okay so. we're in the Tcl Built-In Commands section of the manual, page name read, and I need you to brace yourself because this one is short and a little sad. 😭


✨ NAME ✨

read β€” read from a channel πŸŽ€


🌸 SYNOPSIS 🌸

read ?-nonewline? channel
read channel numChars

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea, and it's giving deprecation era: the read command has been superceded by the chan read command. 🫢

and the good news? chan read supports the same syntax and options, so like… you're not losing anything, bestie. same vibes, new home. ✨

lowkey a glow-up moment for your scripts: if you see read out in the wild, just know chan read is the main character now. πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹


that's literally it, that's the whole page. no cap. 🌈

mwah β€” this was the read(3tcl) page from the Tcl manual, version 8.1. take care of yourself, hydrate, and go call chan read instead. πŸ’–πŸŽ€πŸŒΈπŸ¦‹πŸ’…

πŸ“¦ where this page comes from