bug-bash
[Top][All Lists]
Advanced

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

Re: History modifier :p ignored prior to another history reference


From: Chet Ramey
Subject: Re: History modifier :p ignored prior to another history reference
Date: Sun, 8 May 2016 19:56:43 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 5/3/16 12:15 PM, Dean Stanton wrote:

> History modifier :p is not honored when it appears prior to another history
> reference on the same command line.

csh and tcsh appear to make the :p modifier apply to every history
expansion on the line if it appears anywhere in the line.  I'll take
a look and see about whether I can make that change before bash-4.4 is
released.  It seems safer to honor :p everywhere than to execute a
command where it's unintended.

Chet


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



reply via email to

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