Redirecting to /dev/stderr on Linux truncates files

2014-07-02 Thread Greg Wooledge
An IRC user initially reported this behavior, which is present in at least bash 4.0, 4.2 and 4.3 on Linux (but *not* on HP-UX): Redirection to /dev/stderr on platforms that have /dev/stderr as a part of the native file system is *not* equivalent to >&2 as the manual would seem to imply. This is t

Re: Echoing commands in vi visual mode

2014-07-02 Thread Filip Krska
Hi Chet, On 06/30/2014 08:55 PM, Chet Ramey wrote: On 6/26/14, 4:56 AM, Ondrej Oprala wrote: On 06/11/2014 07:26 PM, Chet Ramey wrote: 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 di