Re: Strange/incorrect behavior of a fake executable file

2018-03-13 Thread Eduardo Bustamante
On Tue, Mar 13, 2018 at 7:24 PM, Vladimir Likic wrote: > 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-lin

Strange/incorrect behavior of a fake executable file

2018-03-13 Thread Vladimir Likic
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

Re: [Help-bash] which paradigms does bash support

2018-03-13 Thread Garreau, Alexandre
On 2015-01-26 at 16:05, Pádraig Brady wrote: > It should be noted that shell programming is closely related to > functional programming. […] > > By trying to use filters and pipes instead of procedural shell > statements, you get the advantage of using compiled code, and implicit > multicore suppor

Re: [minor] umask 400 causes here-{doc,string} failure

2018-03-13 Thread Joerg Schilling
Stephane Chazelas wrote: > Note: sent to bash, zsh and Schily Bourne shell dev mailing > lists (not mksh as my email provider apparently doesn't play > well with mirbsd.org's expensive greylisting, please feel free > to forward there if you don't use gmail). > > That's from: > https://unix.stacke

Re: program gets faster when it outputs more on stderr

2018-03-13 Thread Robert Elz
Date:Sat, 10 Mar 2018 15:46:41 +0100 (CET) From:bash...@jonkmans.nl Message-ID: <20180310144641.62962cc0...@sint.jonkmans.nl> First: | Note that when the fast version is ran with 2>/dev/null, | it also performs slowly. This is not unexpected, and probably