READCONS(1)
π 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:
-ddefault β if the user types an empty string (just a newline) and the-doption is given, thendefaultis 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 π
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 πβ¨
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms