bug-bash
[Top][All Lists]
Advanced

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

Re: Commands containing UTF8 characters mess up bash history


From: Yuri
Subject: Re: Commands containing UTF8 characters mess up bash history
Date: Sat, 01 Mar 2014 22:58:49 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

To: bug-bash@gnu.org
Subject: Commands containing UTF8 characters mess up bash history

Configuration Information:
Machine: amd64
OS: freebsd9.2
Compiler: clang
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='amd64' -DCONF_OSTYPE='freebsd9.2' -DCONF_MACHTYPE='amd64-portbld-freebsd9.2' -DCONF_VEND OR='portbld' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -fno-omit-frame-po inter -I/usr/local/include -O2 -pipe -fno-omit-frame-pointer -fno-strict-aliasing uname output: FreeBSD eagle.yuri.org 9.2-STABLE FreeBSD 9.2-STABLE #4 r260252M: Sat Jan 4 04:09:58 PST 2014 yuri@eagle.yuri.org:/usr/obj/u
sr/src/sys/GENERIC  amd64
Machine Type: amd64-portbld-freebsd9.2

Bash Version: 4.2
Patch Level: 45
Release Status: release

Description:
I manipulate with some files containing UTF8 characters. The only commands I run are these:
./some-cmd < ../some-dir/utf8-containing-file-name.txt
vim ../some-dir/utf8-containing-file-name.txt

After a while of running of such commands, and going back and forth in history and rerunning them, the history becomes messed up. The ' unkown character' question mark appears in the middle, some of them become concatenated. History becomes unusable.

Repeat-By:
        n/a

Fix:
        n/a




reply via email to

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