On 8/2/14, 7:27 PM, EmanueL Czirai wrote:

> Repeat-By:
> 1. start a bash shell
> 2. put this in .bashrc
> 
> PS1='$(date)\
> '
> 
> put no spaces after \
> the entire thing is 2 lines - may add new line after ' though, and prior to 
> PS1
> 
> 3. start a new bash
> the error is:
> bash: command substitution: line 1: syntax error near `date)'
> bash: command substitution: line 1: `date)'
> exit
> and the new bash exited

Thanks for the report.  This will be fixed in the next release of bash.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to