Code addition to BASH

2020-01-21 Thread William Theisen
Running BASH version 5.0 on ubuntu 18.04 Hi I've recently made a code change to my local version of bash that I find quite useful as a QOL update for scripters. I've added an environmental variable called ITERMAX that allows me to see the size of the iterable being used in the for loop. This means

Re: Code addition to BASH

2020-01-21 Thread Chet Ramey
On 1/21/20 2:01 PM, William Theisen wrote: > Running BASH version 5.0 on ubuntu 18.04 > > Hi I've recently made a code change to my local version of bash that I find > quite useful as a QOL update for scripters. I've added an environmental > variable called ITERMAX that allows me to see the size o

Re: Code addition to BASH

2020-01-21 Thread William Theisen
I've just tested this, it's a little awkward but does actually work. Thanks for the suggestion I'll play around with making it a little more convenient to use. Thanks for your time. Regards, William Theisen On Tue, Jan 21, 2020 at 4:00 PM Chet Ramey wrote: > On 1/21/20 2:01 PM, William Theisen

Re: Code addition to BASH

2020-01-21 Thread Chet Ramey
On 1/21/20 4:13 PM, William Theisen wrote: > I've just tested this, it's a little awkward but does actually work. Thanks > for the suggestion I'll play around with making it a little more > convenientĀ to use. Thanks for your time. If you don't want to destroy your script's positional parameters, y

Re: temp setting POSIXLY_CORRECT turns alias expansion off

2020-01-21 Thread L A Walsh
On 2020/01/17 06:49, Chet Ramey wrote: On 1/16/20 2:05 PM, Martijn Dekker wrote: Op 16-01-20 om 17:02 schreef Chet Ramey: On 1/15/20 10:24 PM, Martijn Dekker wrote: When alias expansion is enabled for a script in bash native mode, prefixing POSIXLY_CORRECT=y to any command

Re: Code addition to BASH

2020-01-21 Thread Greg Wooledge
On Tue, Jan 21, 2020 at 04:14:52PM -0500, Chet Ramey wrote: > On 1/21/20 4:13 PM, William Theisen wrote: > > I've just tested this, it's a little awkward but does actually work. Thanks > > for the suggestion I'll play around with making it a little more > > convenientĀ to use. Thanks for your time.

[PATCH] Resolve inconsisteny of keyseq representation of \C-\\ (0x5c)

2020-01-21 Thread Koichi Murase
Thank you for reviewing a number of patches related to `bind'. This is the final report related to `bind' that I currently have. Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-