[bug] Bind + readline state corruption

2022-07-05 Thread Hans Kristian Otnes Berge
From: hanskobe...@gmail.com To: bug-bash@gnu.org Subject: [bug] Bind + readline state corruption Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security uname output: Linux 4602

echo $'\0' >a does not write the nul byte

2021-01-17 Thread hans
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' -DPACKA

feature request: store lines before history expansion

2015-12-10 Thread Hans Ginzel
Hello! I would appreciate if bash could optionally (some option – on by default when histexpand is set) store the command line *before* history expansion additionally to expanded line. Regards, Hans

Re: echo redirect additional new line

2015-07-23 Thread Hans Ginzel
gs (filenames, etc.) with control characters in them. Oh, I am sorry. Thank you for the explanation. Best regards, Hans

echo redirect additional new line

2015-07-23 Thread Hans Ginzel
NU bash, version 4.3.11(1)-release (i686-pc-linux-gnu) Regards Hans

Re: [Bug-readline] Problem with CTRL-z and readline()

2015-03-02 Thread Hans Lub
suspendend, but I think these could be handled as well. regards Hans -- Hans Lub +31 (0)30 2899249 Dolomieten 74 3524 VH Utrecht (Nederland) hanslu...@gmail.com

Re: [Bug-readline] Problem with CTRL-z and readline()

2015-03-02 Thread Hans Lub
2015-03-02 10:47 GMT+01:00 Hans Lub : > and defers the restoring until after wakeup (cf signals.c > <https://github.com/hanslub42/rlwrap/blob/master/src/signals.c#L177>). > Now I realize that rlwrap doesn't restore terminal attributes after a SIGTSTP, and will leave them mod

Re: how to search for commands

2015-02-24 Thread Hans J Albertsson
Help in bash seems to do most of what's actually needed. Hans J. Albertsson >From my Nexus 5 Den 24 feb 2015 11:48 skrev "Hans J Albertsson" : > Powershell is a very good cmd language, so bash and other unix shells > might do well to adopt some ideas from there. > >

Re: how to search for commands

2015-02-24 Thread Hans J Albertsson
than lexical completion, I think. Hans J. Albertsson >From my Nexus 5 Den 24 feb 2015 06:11 skrev "Dan Douglas" : > On Mon, Feb 23, 2015 at 10:50 PM, wrote: > > How do you search for commands? In powershell you have the get-command > cmdlet. Is there anything equivalen

Re: Does [ -f FILE ] have a bug on testing a symlink ?

2015-02-10 Thread Hans J Albertsson
The current behaviour is according to the intended functionality of symlinks when they first appeared, i e to create first-rank local references across få boundaries. cf hard links. Hans J. Albertsson >From my Nexus 5 Den 10 feb 2015 10:04 skrev "Jonathan Hankins" : > $ touch f

Re: Bug/limitation in 'time'

2013-03-17 Thread Hans J. Albertsson
This version is actually slightly faster... And the sys time goes down very close to zero. Now, what were you actually looking to test?? My version might be utterly irrelevant. function BashCount() { i=$1 while (( i-- )) ; do true done echo Just

brace expansion in non-C locales

2013-03-13 Thread Hans J. Albertsson
I fully expected the brace expression {Z..Ö} to epand to Z Å Ä Ö in the sv_SE.ISO8859-1 locale. Why is brace expressions limited to C locale behaviour? What can I do to change that?

Re: Commands executed with $($prog) do not run properly

2010-11-08 Thread Hans-Georg Bork
Hi, On Mon, 2010-11-08 at 09:49 -0500, Greg Wooledge wrote: > On Mon, Nov 08, 2010 at 03:26:10PM +0100, Hans-Georg Bork wrote: > > if this is true, then please explain the differences between > > $ find /test -type d ! -wholename "/test" > > (/test not show

Re: Commands executed with $($prog) do not run properly

2010-11-08 Thread Hans-Georg Bork
Hi, On Mon, 2010-11-08 at 08:51 -0500, Greg Wooledge wrote: > On Sat, Nov 06, 2010 at 03:09:08AM +0100, Hans-Georg Bork wrote: > > $ prog='find /test -type d ! -wholename "/test"' > > $ echo $prog > > find /test -type d ! -wholename "/test" >

Commands executed with $($prog) do not run properly

2010-11-07 Thread Hans-Georg Bork
From: Hans-Georg Bork To: bug-bash@gnu.org, b...@packages.debian.org Subject: Commands ran with $($prog) do not run properly Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCON

Re: bash 3.2 fails to detect bzero in configure stage

2007-08-08 Thread Hans-Christian Egtvedt
On Wed, 2007-08-08 at 10:39 +0200, Hans-Christian Egtvedt wrote: > I am using uClibc 0.9.29 and GCC 4.1.2 to compile bash 3.2 (with the 17 > patches released on web). And I have a problem that configure does not > detect bzero properly, and thus resulting in a crash later when > compil

bash 3.2 fails to detect bzero in configure stage

2007-08-08 Thread Hans-Christian Egtvedt
to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_bzero || defined __stub___bzero | choke me | #endif | | int | main () | { | return bzero (); | ; | return 0; | } configure:12901: result: no