‐‐‐ Original Message ‐‐‐
On Thursday, May 16, 2019 10:57 PM, Chet Ramey wrote:
> On 5/16/19 4:25 PM, howaboutsyne...@protonmail.com wrote:
>
> > Hi. Would bash devs even consider replacing the current behaviour of ">"
> > (redirection) to do the equivalent of the following(under the ho
On 5/16/19 4:25 PM, howaboutsyne...@protonmail.com wrote:
> Hi. Would bash devs even consider replacing the current behaviour of ">"
> (redirection) to do the equivalent of the following(under the hood) ?
I doubt it. That's not how it's defined to behave, and there's no good
reason to do it.
>
Hi. Would bash devs even consider replacing the current behaviour of ">"
(redirection) to do the equivalent of the following(under the hood) ?
When:
`command > $somewhere`
then actually do(under the hood):
: > $somewhere
command >> $somewhere
ie. create&truncate file, then open it in append m
On 5/16/19 7:57 AM, HIROSE Masaaki wrote:
> Bash Version: 4.4
> Patch Level: 19
> Release Status: release
>
> Description:
>
> I set the following environment variable:
> - export HISTTIMEFORMAT='%Y-%m-%d %T '
> to show timestamp in history
> - export PROMPT_COMMAND='history -a; history
On Tue, 14 May 2019 at 23:20, Chet Ramey wrote:
> That's similar to the report Martijn cited, but not the same. The right one is
>
> http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00031.html
>
> and the right commit is
>
> http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=78a3f8a
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE