Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15819

Code addition to BASH

From William Theisen <William.T.Theisen.2@nd.edu>
Newsgroups gnu.bash.bug
Subject Code addition to BASH
Date 2020-01-21 14:01 -0500
Message-ID <mailman.3162.1579633315.1979.bug-bash@gnu.org> (permalink)
References <CANx=xzbMYaYR0SCWntJr0Mv9JQ=Nsx7iBaaGrUd6-JvN0appNA@mail.gmail.com>

Show all headers | View raw


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 I can display progress bars and the
like similar to TQDM in python. Is this something that I could make a PR
for or is adding new shell variables considered taboo and to be avoided.
Thanks for your time.

Regards,
William Theisen

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Code addition to BASH William Theisen <William.T.Theisen.2@nd.edu> - 2020-01-21 14:01 -0500

csiph-web