On 1/23/19 10:59 AM, Shen Herbert wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe
> -fstack-protector-strong -fno-plt
> -DDEFAULT_PATH_VALUE='/usr/local/sbin
On Wed, Jan 23, 2019 at 03:59:12PM +, Shen Herbert wrote:
(...)
> Repeat-By:
> Run this script:
> ```
> set +T
> one { trap 'echo in one' RETURN; }
> all {
> trap 'echo in all' RETURN
> one
> }
> all
> ```
Hm, the script above is a bit odd, these aren't syntactically valid function
de
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong -fno-plt
-DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin'
-DSTANDARD_UTILS_PATH='/usr/
On 1/22/19 3:32 PM, Robert White wrote:
> Howdy,
>
> The following cannot work because, for some reason, the array subscript
> parser insists on doing math on array indices even when the array is
> associative instead of numeric
>
> typeset -A UUID_TABLE
> ...
> UUID_TABLE+=( [${SOME_UUID}]=${SOM
On 1/23/19 2:13 PM, Chet Ramey wrote:
Is there any special reason that rpath isn't managed for Bash (similar to
how its managed for readline)?
Because bash, by default, links statically with its own copy of readline.
If you want to do things differently, there is a mechanism: specify the
--rpat
On 1/23/19 5:49 AM, Greg Bell wrote:
> Thanks for the quick help guys, much appreciated. Weird/annoying problem,
> but at least it's known, and the workaround's fine.
That behavior has been there in this form for around 25 years.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
On 1/23/19 8:39 AM, Mohammad Akhlaghi wrote:
> On 1/22/19 2:25 PM, Chet Ramey wrot
>> The bash link step doesn't do anything with rpath.
>>
>> The readline Makefiles set rpath to the installed location of the library
>> at build time (using $libdir), so if you install it somewhere else that's
>> go
On 1/22/19 2:25 PM, Chet Ramey wrot
The bash link step doesn't do anything with rpath.
The readline Makefiles set rpath to the installed location of the library
at build time (using $libdir), so if you install it somewhere else that's
going to be wrong. It should probably use $(DESTDIR)$(libdir)