[TUHS] What's In a Prompt String?

Rob Pike via TUHS tuhs at tuhs.org
Wed Apr 29 13:21:01 AEST 2026


I still set PS2 to a tab character, because it indents what is usually the
interior of the control structure.

-rob


On Wed, Apr 29, 2026 at 12:34 PM Douglas McIlroy via TUHS <tuhs at tuhs.org>
wrote:

> The prompt-string question evoked a characteristic memory of Bob
> Morris: he  set PS2="hit return", because PS2 was usually a symptom of
> a mistakenly missing close quote.
>
> Doug
>


More information about the TUHS mailing list