[Top][All Lists]

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

Re: Echoing commands in vi visual mode

From: Chet Ramey
Subject: Re: Echoing commands in vi visual mode
Date: Wed, 11 Jun 2014 13:26:49 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 6/11/14, 6:35 AM, Ondrej Oprala wrote:
> Hi,
> bash-4.3 seems to act differently(better) in vi visual mode, than previous
> bash-4 minors.
> However, ksh gave a different result all along.

This isn't standardized, so I'm not worried about small differences between
implementations in something that happens interactively.

Bash uses the `v' option to echo commands as they are read from the temp
file and executed, and that option is inherited by subshells.  ksh93
doesn't seem to echo any commands at all.  I personally think the bash
behavior is more useful.

``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]