bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: errno in PS1 variable [patch included]


From: Chet Ramey
Subject: Re: errno in PS1 variable [patch included]
Date: Mon, 26 Nov 2001 09:38:05 -0500

> I thought I could gain a lot if the last
> errno could be a part of my prompt.
> The following patch makes this
> PS1="\E "
> show the last errno as the prompt.

What's wrong with using `$?'?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]