[TUHS] Origins of shell prompt suffixes % $ > #

Michael Kjörling michael at kjorling.se
Tue Aug 7 16:54:54 AEST 2018


On 6 Aug 2018 21:53 +0100, from brian at zick.io (Brian Zick):
> rc uses ;

Not sure what came first, and not up to digging out the history books,
but these days, a plain `;` for a prompt has a distinct advantage in
that you can copy the whole line and paste it into another shell, and
the shell will do The Right Thing (tm) as long as (as is, I believe,
done by all of the major shells at least) it uses `;` for command
separation.

-- 
Michael Kjörling • https://michael.kjorling.semichael at kjorling.se
  “The most dangerous thought that you can have as a creative person
              is to think you know what you’re doing.” (Bret Victor)



More information about the TUHS mailing list