gets(n)

πŸ“¦
version 9.0.3 Β· 3 versions
, in alpine 3.23, alpine 3.24, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ gets(n) ✨

okay bestie, gather round β€” this is the gets page from the Tcl Built-In Commands manual, and it's a short one but it's got lore. 🫢


πŸ’– NAME πŸ’–

gets β€” read a line from a channel πŸ“–βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

gets channel ?varName?

that's it. that's the whole vibe. two args, one of them optional, we love a low-maintenance icon. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, bestie: gets has been superceded by the chan gets command. 😭 (yes, the page really spells it "superceded" β€” we don't fix, we report. character for character, always.)

And the good news?? chan gets supports the same syntax and options as the one you're looking at right now. So it's not giving "everything you knew is a lie" β€” it's giving "same fit, new closet". πŸ‘‘ Same channel, same ?varName?, same energy, just living under the chan umbrella now.

lowkey important: this page is the old headmate. if you're out here writing fresh code, go hang with chan instead. the original gets is giving legacy and you deserve the current era. πŸ’–

🌸 SEE ALSO 🌸

  • chan(n) β€” go read this one, it's the main character now ⭐

and that's the whole page, no cap 🧚

this lil gem comes to you from the Tcl manual, version 7.5 β€” mwah, iconic, historic, periodt. πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from