READCONS(1)

πŸ“¦ version 0_git20260208, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable

πŸ’– readcons β€” General Commands Manual, but make it group chat πŸ’–

okay bestie, this is the readcons page and it's literally just a lil console prompt situation. Very demure, very "please type something." Let's get into it ✨


πŸŽ€ NAME πŸŽ€

readcons β€” prompt console for input 🫢

🌸 SYNOPSIS 🌸

readcons [ -d default ] [ -s ] prompt

πŸ¦‹ DESCRIPTION πŸ¦‹

readcons prompts at the console for input and copies the typed string to standard output. That's the whole main-character job, no cap.

The flags and the positional arg, all cute and accounted for:

  • -d default β€” if the user types an empty string (just a newline) and the -d option is given, then default is printed instead of an empty string. lowkey a safety net πŸ’…
  • -s β€” if this flag is given, the input is not displayed (secret). very spy-movie, very "don't look at my password" πŸ™ˆ
  • prompt β€” the positional prompt argument shown in the synopsis, because yes, it needs a prompt πŸŽ€

πŸ“ SOURCE πŸ“

/src/cmd/readcons.c

πŸ‘€ SEE ALSO πŸ‘€

readcons(3)


okay that's the whole page, bestie 🫢 β€” the footer doesn't add a source/version or a date beyond this page's READCONS(1) tag, so consider this your cute little sign-off instead πŸ’œβœ¨