bug-bash
[Top][All Lists]
Advanced

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

Re: A suggestion for the future version of Bash


From: Chet Ramey
Subject: Re: A suggestion for the future version of Bash
Date: Fri, 29 Dec 2000 16:35:26 -0500

> It would be good to have possibility to print something before each 
> interactive command line execution. This can be done by adding the new shell 
> variable BEFORECOMMAND with commands which should be executed before every 
> user-entered command line.

Do you mean before each line of a possible multi-line command?  If not,
I don't see why $PROMPT_COMMAND cannot be made to work for this.

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

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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