Bourne Shell Question?

Eirik Fuller eirik at lurch.Stanford.EDU
Thu Feb 2 11:47:35 AEST 1989


In article <201 at carroll1.UUCP>, tkopp at carroll1 (Tom Kopp) writes:
>In article <8517 at dasys1.UUCP>, dap9702 at dasys1.UUCP (Dan Powers) writes:
>>   Does anyone know how to get a prompt in Bourne Shell that contains the
>> current working directory (pwd). I can get this to work in C shell by 
> ...
>I have not yet seen this done on a Bourne Shell, and I have asked a few
>people and none of them know how to do it.
> ...

It's been too long since the last time the following answer was
posted.  If I remembered who last posted it, I'd give credit.  I
thought it was hilarious last time; certainly no worse than the
periodic asking of this perpetual question.  The answer is ...


PS1=.


Hahahahahaha

I liked this answer so much when I first saw it that ever since, every
Unix account I've got has "set prompt=." in .cshrc



More information about the Comp.unix.questions mailing list