Re: shell-expand-line drops quotation marks

2015-11-04 Thread Chet Ramey
On 11/3/15 7:44 PM, Keith Thompson wrote: > The shell-expand-line command (bound to Escape-Ctrl-E) incorrectly removes > quotation marks from > the command line, often resulting in a command that differs from what the > user intended to type. This is the documented behavior. shell-expand-line per

Re: loadable builtins on HP-UX

2015-11-04 Thread Greg Wooledge
On Wed, Nov 04, 2015 at 12:09:56AM -0500, Mike Frysinger wrote: > On 03 Nov 2015 18:25, Chet Ramey wrote: > > On 11/3/15 4:45 PM, Greg Wooledge wrote: > > > bash-4.4# enable -f ./tty tty > > > bash-4.4# type -a tty > > > tty is a shell builtin > > > tty is /usr/bin/tty > > > bash-4.4# tty > > > /us

Re: shell-expand-line drops quotation marks

2015-11-04 Thread Pádraig Brady
On 04/11/15 13:47, Chet Ramey wrote: > On 11/3/15 7:44 PM, Keith Thompson wrote: >> The shell-expand-line command (bound to Escape-Ctrl-E) incorrectly removes >> quotation marks from >> the command line, often resulting in a command that differs from what the >> user intended to type. > > This is

Re: loadable builtins on HP-UX

2015-11-04 Thread Andreas Schwab
Greg Wooledge writes: > The linker option in HP-UX 11.11 is -E . FWIW, GNU ld also accepts this as a synonym for -rdynamic. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely differen

Re: Paste with null delimiter

2015-11-04 Thread Stephane Chazelas
2015-11-03 08:29:17 -0800, julio.ne...@gmail.com: [...] > $ paste -d "" odd even [...] Note that the portable and standard way to paste with no separator is: paste -d '\0' odd even (no, it doesn't insert NUL characters). not paste -d '' odd even which is not standard and won't work with all p

Re: loadable builtins on HP-UX

2015-11-04 Thread Chet Ramey
On 11/4/15 9:04 AM, Greg Wooledge wrote: > On Wed, Nov 04, 2015 at 12:09:56AM -0500, Mike Frysinger wrote: >> On 03 Nov 2015 18:25, Chet Ramey wrote: >>> It looks like shared objects loaded by dlopen don't have access to the >>> loading program's symbols. That might be an HP-specific option to dl

Re: loadable builtins on HP-UX

2015-11-04 Thread Greg Wooledge
On Wed, Nov 04, 2015 at 11:29:37AM -0500, Chet Ramey wrote: > Change the hpux11*-*gcc* stanza in support/shobj-conf to specify the > right options. I'm guessing you'll need to change the assignment to > SHOBJ_LDFLAGS. Once you have something that works, send me diffs and > I'll apply them. Err..

Re: shell-expand-line drops quotation marks

2015-11-04 Thread Keith Thompson
Thanks, I didn't know about history-expand-line. Is there some case where shell-expand-line would actually be useful? If I've typed *"foo bar"*, I can't think of any case where I'd *want* it to be replaced by *foo bar*, which has a very different meaning. Of course the obvious answer is not to use

Re: loadable builtins on HP-UX

2015-11-04 Thread Chet Ramey
On 11/4/15 11:58 AM, Greg Wooledge wrote: > On Wed, Nov 04, 2015 at 11:29:37AM -0500, Chet Ramey wrote: >> Change the hpux11*-*gcc* stanza in support/shobj-conf to specify the >> right options. I'm guessing you'll need to change the assignment to >> SHOBJ_LDFLAGS. Once you have something that wor