backquote peculiarities (was: Re: Combination of "eval set -- ..." and $() command substitution is slow)

2019-07-15 Thread astian
Robert Elz: > Date:Wed, 10 Jul 2019 17:21:00 + > From:astian > Message-ID: > > I doubt it makes any difference to the timing, which I think > Chet has already answered, but it is worth pointing out that these > two commands ... > > printf '

Re: Combination of "eval set -- ..." and $() command substitution is slow

2019-07-15 Thread Robert Elz
Date:Wed, 10 Jul 2019 17:21:00 + From:astian Message-ID: I doubt it makes any difference to the timing, which I think Chet has already answered, but it is worth pointing out that these two commands ... printf '%s\n' "`printf %s "$i"`"

Re: Combination of "eval set -- ..." and $() command substitution is slow

2019-07-15 Thread Chet Ramey
On 7/13/19 1:36 PM, astian wrote: > Chet Ramey: >>> - $() seems generally slightly slower than ``, but becomes >>> pathologically >>> so when preceded with "eval set -- ...". >> >> It is slightly slower -- POSIX requires that the shell parse the contents >> of $(...) to determine that i

Re: background, pipeline, hang

2019-07-15 Thread Mike Jonkmans
On Mon, Jul 15, 2019 at 10:01:30AM -0400, Chet Ramey wrote: > On 7/13/19 5:55 AM, Mike Jonkmans wrote: > > This runs for two seconds: > > bash --norc --noprofile -ic "trap 'tput hs' DEBUG; sleep 2 & :|:|:" > > I can't reproduce this using bash-5.0.7 on RHEL7, Debian 9, Ubuntu 16, or > Ubuntu 1

Re: background, pipeline, hang

2019-07-15 Thread Chet Ramey
On 7/13/19 5:55 AM, Mike Jonkmans wrote: > Thanks for looking, though. > > With the tip of Greg Wooledge (use --norc --noprofile), > from another post, i was able to research this further. > > > This runs for two seconds: > bash --norc --noprofile -ic "trap 'tput hs' DEBUG; sleep 2 & :|:|

Re: alias problem -- conflict found

2019-07-15 Thread Greg Wooledge
On Fri, Jul 12, 2019 at 07:22:25PM -0700, Eduardo Bustamante wrote: > Can we please STOP this thread? What is the point? Linda will never > change her mind. You all are just wasting time and electricity. > > (and spamming the mailing list with this non-sense). https://xkcd.com/386/