Re: [PATCH/RFC] do not source/exec scripts on noexec mount points

2015-12-16 Thread John McKown
store is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: count

2015-12-19 Thread John McKown
to the order you wanted it to be in. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: count

2015-12-21 Thread John McKown
uff" on my tablet, not my PC (which is where I read most of my email - can't stand email on tablet). On Sun, Dec 20, 2015 at 8:12 PM, Krem wrote: > > John, > > After trail and error the following works for me but still has to be > refined. > > find . -type f

Re: count

2015-12-21 Thread John McKown
ont of the pattern to "anchor" it at the start of the line created by "find". OK, it probably would have run correctly without it, but I'm a bit anal about such things. On Mon, Dec 21, 2015 at 7:45 AM, John McKown wrote: > Sorry about delay, for some reason Google pu

Re: count

2015-12-21 Thread John McKown
in the APL language as my has [grin].​ Hum, SQL set logic might cause similar "damage". -- Computer Science is the only discipline in which we view adding a new wing to a building as being maintenance -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: Only one Friday 13th coming in 2016

2015-12-21 Thread John McKown
ing Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: count

2015-12-21 Thread John McKown
5 at 8:31 AM, Greg Wooledge wrote: > On Mon, Dec 21, 2015 at 08:21:04AM -0600, John McKown wrote: > > find . -maxdepth 2 -mindepth 2 -type f -name '*.csv' -o -name '*.txt' |\ > > egrep '^\./[0-9]' |\ > > xargs awk 'ENDFILE {print FILENAME &q

Re: count

2015-12-21 Thread John McKown
hich we view adding a new wing to a building as being maintenance -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: Uniq pattern

2015-12-31 Thread John McKown
ntenance -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: combine and ..

2016-01-19 Thread John McKown
;INSERT INTO file1 VALUES(\"" $1 "\"," $2 "," $3 ");"} ' file1.txt awk 'NR > 1 {print "INSERT INTO file2 VALUES(\"" $1 "\"," $2 "," $3 ");"} ' file2.txt cat < wrote: > > &g

Re: Add a mirror to github

2016-02-15 Thread John McKown
man has the intellect of a lobotomized turtle. Maranatha! <>< John McKown

Re: How to lock a terminal

2016-02-15 Thread John McKown
r is expected or me being stupid, or > something else going on. > > Regards, > > Nick > -- > Gosh that takes me back... or is it forward? That's the trouble with > time travel, you never can tell." > -- Doctor Who "Androids of Tara" > > -- The man has the intellect of a lobotomized turtle. Maranatha! <>< John McKown

Re: [Help-bash] help

2016-03-06 Thread John McKown
Please reply to the list and not just me. There are a lot of helpful people out there. Perhaps a "reply all"? On Sun, Mar 6, 2016 at 5:26 PM, Val Krem wrote: > Hi John, > Thank you very much! > I chose to put it as a function in my .bashrc. > what happened is that >

Re: Looking for tutorials

2016-03-18 Thread John McKown
ht you were "funnin" him. But this page looks like it _might_ be an interesting start: https://gist.github.com/sshaw/8017032 -- A fail-safe circuit will destroy others. -- Klipstein Maranatha! <>< John McKown

Re: scripts one after the other

2016-03-26 Thread John McKown
section echo "Congratulations, you decided to continue on!" ​ -- How many surrealists does it take to screw in a lightbulb? One to hold the giraffe and one to fill the bathtub with brightly colored power tools. Maranatha! <>< John McKown

Re: bash "while do echo" can't function correctly

2016-04-13 Thread John McKown
ve used it myself in special cases, such as wanting leading zeros (i=0;printf '%03d\n' "${i}";) > > -- > Geir Hauge > > -- How many surrealists does it take to screw in a lightbulb? One to hold the griffon and one to fill the bathtub with brightly colored LEDs. Maranatha! <>< John McKown

Re: bash "while do echo" can't function correctly

2016-04-13 Thread John McKown
On Wed, Apr 13, 2016 at 6:45 AM, Pierre Gaston wrote: > > > On Wed, Apr 13, 2016 at 2:34 PM, John McKown > wrote: > >> On Wed, Apr 13, 2016 at 1:10 AM, Geir Hauge wrote: >> >> ​... >> >> >>> though printf should be preferred over echo: &

Possible bash bug?

2016-06-22 Thread John Lawlor
Hi, I came across some unusual behaviour in bash using the '-c' parameter. If I do the following: bash -c "ping 127.0.0.1 > $HOME/console.log" & This starts two processes bash and ping: john 18038 17951 0 09:26 pts/14 00:00:00 bash -c ping 127.0.0.1 >

Re: bug in [ -f file ] test

2016-07-28 Thread John McKown
wrote: > > > > As far as I'm aware, the inability to use symlinks owned by another user > in a sticky directory is a security feature of some kernels. It helps to > prevent symlink attacks. > > > > -- Klein bottle for rent -- inquire within. Maranatha! <>< John McKown

Verbose error output in interactive mode

2016-08-05 Thread John Passaro
F_VENDOR='apple' -DLOCALEDIR='/usr/local/Cellar/bash/4.3.42/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DMACOSX -I. -I. -I./include -I./lib -I./lib/intl -I/private/tmp/bash20150913-75517-1rfmxak/bash-4.3/lib/intl -DSSH_SOURCE_BASHRC uname output: Darwin

Re: [PATCH] Add-rm-rf-as-examples-loadables-rm.c

2016-10-31 Thread John McKown
e > by > 6-7%. > ​Am I understand you correctly? You say that it __increases__ overall execution time? That is, using rm as a builtin makes the script take more time to execute (slows it down)?​ > > Tim > -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown

Re: Not operator (~) fail on arithmetic expansion.

2016-11-27 Thread John McKown
token is > "/home/user") > > > > Repeat-By: > > Use $((~0)) (without spaces) to generate the error. > -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown

Re: Could bash do what make does?

2016-12-03 Thread John McKown
provides, and send patches to add said > functionality to bash. > > [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html > [2] https://www.gnu.org/software/make/ > [3] http://lists.gnu.org/archive/html/bug-make/ > > -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown

Re: Bash leaks heredoc fd to child processes

2017-01-17 Thread John McKown
pvs'? > > ​Probably a part of LVM (Logical Volume Manager), VS(8) System Manager's Manual PVS(8) NAME pvs — report information about physical volumes ​ -- There’s no obfuscated Perl contest because it’s pointless. —Jeff Polk Maranatha! <>< John McKown

Re: echo -n

2017-02-02 Thread John McKown
another told me "echo is _evil_". You could use "printf" instead: $ printf '%s\n' '-n' -n -- There’s no obfuscated Perl contest because it’s pointless. —Jeff Polk Maranatha! <>< John McKown

Re: echo -n

2017-02-02 Thread John McKown
in, then you are doomed to disappointment. If you want a replacement for "echo -n", you might try using a function (defined in ~/.bashrc) similar to: function echo-n() { printf '%s ' "$@" | sed -r 's/ $//'; }​ > > Thanks & Regards > --Jyoti > > -- There’s no obfuscated Perl contest because it’s pointless. —Jeff Polk Maranatha! <>< John McKown

Re: popd with garbage parameter removes entry from dirs but doesn't cd.

2017-03-07 Thread John McKown
ee Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html > This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [tsh009@it-johnmckown-linux tmp]$ [/transcript] -- "Irrigation of the land with seawater desalinated by fusion power is ancient. It's called 'rain'." -- Michael McClary, in alt.fusion Maranatha! <>< John McKown

Re: Bash monopolizing or eating the RAM MEMORY

2017-03-20 Thread John McKown
00 U.S.; example (not recommendation): http://www.thinkmate.com/system/rax-xs4-1160v4​. Honestly: you need to change your algorithm for processing your problem. In your example, perhaps a series of nested loops. -- "Irrigation of the land with seawater desalinated by fusion power is ancient. It's called 'rain'." -- Michael McClary, in alt.fusion Maranatha! <>< John McKown

Re: Interested in contributing to Bash

2017-05-23 Thread John McKown
``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~ > chet/ > > -- Windows. A funny name for a operating system that doesn't let you see anything. Maranatha! <>< John McKown

Re: Interested in contributing to Bash

2017-05-23 Thread John McKown
On Tue, May 23, 2017 at 1:55 PM, John McKown wrote: > > > On Tue, May 23, 2017 at 1:39 PM, Chet Ramey wrote: > >> >> The best thing to read to learn about how the shell is structured -- other >> than the code itself -- is the unedited version of the chapter I wrote

Re: RFE: Please allow unicode ID chars in identifiers

2017-06-03 Thread John McKown
back end work. There is another mid-range IBM system which also uses EBCDIC, but I don't know if it has a BASH port or not.​ -- Windows. A funny name for a operating system that doesn't let you see anything. Maranatha! <>< John McKown

Re: RFE: Please allow unicode ID chars in identifiers

2017-06-04 Thread John McKown
On Sat, Jun 3, 2017 at 8:51 PM, L A Walsh wrote: > > > John McKown wrote: > >> On Sat, Jun 3, 2017 at 4:48 PM, L A Walsh > b...@tlinx.org>> wrote: >> ​ >> > > ​OK, I did a port of BASH to an IBM "mainframe" system (IBM z) which uses >&g

Re: A background ssh can take over the tty from bash?

2017-06-10 Thread John McKown
.0.1 sleep & Try: ​ ssh -f -o ControlMaster=no -o ControlPath=/tmp/socket.tmp 127.0.0.1 sleep -- Windows. A funny name for a operating system that doesn't let you see anything. Maranatha! <>< John McKown

Readline Documentation

2024-09-11 Thread John Devin
ate: "The convert-meta variable has no effect if input-meta is off." From the manpage I would think so, but I'm just not confident. I also can't tell conclusively whether the output-meta variable is affected by convert-meta, or vice-versa. Thanks for your time, John Devin

Re: Readline Documentation

2024-09-13 Thread John Devin
Hey Chet, Thanks for getting back so fast. Just a couple points to make. On Thu, Sep 12, 2024 at 4:38 PM Chet Ramey wrote: > > On 9/11/24 3:19 PM, John Devin wrote: > > While hunting down some problems on a terminal, I ran across the > > option 'prefer-visible-bell

Manpage typo

2024-09-17 Thread John Devin
On line 3987 of bash.1 (here: https://git.savannah.gnu.org/cgit/bash.git/tree/doc/bash.1#n3987), `The\fBextglob\fP` is missing a space between 'The' and 'extglob'. I'm not sure how small typos have to be before they're not worth an email, so if this is, let me know. - John Devin

Re: Readline Documentation

2024-09-17 Thread John Devin
27;s not documented? > I think I can answer 'yes' to that, even if I can't quote any one post as saying "This isn't documented in the manpage." These two users (https://superuser.com/a/1620055) seem to have had some trouble, to the point that they had the right answer first and "un-corrected" it (see the edit history) to the wrong one: "I could have swore it used to be different, but so goes my memory!" - user at that link. Again though, kind of moot, if it's being removed so not much to discuss there. - John Devin

Updating Bash port on VMS

2011-09-30 Thread John E. Malmberg
, and documentation. I would like to collect those files into a VMS specific directory, and would like to know where to put that directory in the current tree for when the port is complete and I can start submitting patches. The work is being based on the 4.2 release + patches. Regards, -John

[patch] jobs.c not checking HAVE_SYS_PARAM_H

2011-10-10 Thread John E. Malmberg
In the bash 4.2 source: jobs.c is not checking HAVE_SYS_PARAM_H. This prevents it from compiling on VMS which does not supply this header. Regards, -John wb8tyw@qsl.network Personal Opinion Only $ diff -ub a/jobs.c b/jobs.c --- a/jobs.c 2011-09-26 22:28:17.0 -0500 +++ b/jobs.c

Re: [patch] jobs.c not checking HAVE_SYS_PARAM_H

2011-10-12 Thread John E. Malmberg
I posted this to the gmane.comp.shells.bash.bugs newsgroup two days ago, but have not seen any response. Are postings to there by non-subscribers not making to the mailing list? On 10/10/2011 10:44 PM, John E. Malmberg wrote: In the bash 4.2 source: jobs.c is not checking HAVE_SYS_PARAM_H

obsolete vms specific code in lib/glob/ndir.h

2012-05-12 Thread John E. Malmberg
The lib/glob/ndir.h file has some VMS specific code in it. That header file is not used by VMS in building bash. Even if it where to be used, the code is out of date and would not work on current versions of VMS. I recommend removing the VMS specific code from that file. Regards, -John

Red-Hat Bug 825751 - bash-completion fails on environment variables

2012-05-28 Thread John E. Malmberg
. Regards, -John

Re: Red-Hat Bug 825751 - bash-completion fails on environment variables

2012-05-29 Thread John E. Malmberg
On 5/29/2012 7:12 AM, Chet Ramey wrote: On 5/28/12 11:32 AM, John E. Malmberg wrote: https://bugzilla.redhat.com/show_bug.cgi?id=825751 bash-4.2.24-1.fc16.i686 Please take a look at http://git.savannah.gnu.org/cgit/bash.git/log/?h=direxpand and see if that behaves the way you like. Thanks

Re: lib/sh/mktime.c VMS specific code is not needed.

2012-06-04 Thread John E. Malmberg
On 6/4/2012 8:05 AM, Chet Ramey wrote: On 6/2/12 7:51 PM, John Malmberg wrote: The lib/sh/mktime.c module has a VMS specific include of to pick up time_t. No, it doesn't. VMS systems include. I see I read it wrong. On VMS, the time_t type is defined in the module. So this VMS spe

VMS port - Advice wanted for not having a fork() call.

2012-06-06 Thread John E. Malmberg
together. Regards, -John

Bug in patch bash42-018, leaves lastpipe_flag unitialized for platforms with out JOB_CONTROL.

2012-06-21 Thread John E. Malmberg
inal patch will still result in a compiler diagnostic about an unused variable. So that would need an #if defined (JOBCONTROL) needed around the declaration. So what should be the correct patch? Is there another bug hiding in this? Regards, -John wb8tyw@qsl.network Personal Opinion Only

sys/param.h not checked for by configure

2012-07-29 Thread John E. Malmberg
HLEN appears to be a duplicate for the macros PATH_MAX and FILENAME_MAX that are defined in other standard headers. So does anyone know of a link to a reference standard about what should be in the sys/param.h file. Regards, -John wb8tyw@qsl.network Personal Opinion Only

Re: cygwin: glob successfully for executables without ".exe" suffix

2012-09-09 Thread John E. Malmberg
de to make this happen. Glob and readir() only report the foo.exe case, not the foo. I have not yet found anything that actually cares so far though. On VMS the hack in the past has been to install a hard link to "foo" from foo.exe. Regards, -John wb8tyw@qsl.network Personal Opinion Only

savestring() macro in general.h runs function arguments twice.

2012-11-23 Thread John E. Malmberg
n 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. GNV-3.0-1-JEM-1 Nov 23 2012 09:17:12 Regards, -John wb8tyw@qsl.network Personal Opinion Only

Bash 4.2.39 now available for OpenVMS Alpha/I64

2012-12-16 Thread John E. Malmberg
is that the VAX/VMS filesystem does not support some of the file names as-is in the GNU source tree, so some special case code will be need in the Bash.mms (VMS makefile equivalent). Regards, -John wb8...@qsl.net Personal Opinion Only

Re: Bash 4.2.39 now available for OpenVMS Alpha/I64

2012-12-20 Thread John E. Malmberg
On 12/20/2012 9:36 AM, Chet Ramey wrote: On 12/16/12 10:51 AM, John E. Malmberg wrote: For those that want to look at the source, you can examine or check out the OpenVMS specific changes in the http://gnv.cvs.sourceforge.net/gnv/ cvs tree from the gnu_vms/bash tree with the cvs tag gnv-bash

Bash 4.2.45 now available for VMS at GNV site.

2013-07-29 Thread John E. Malmberg
directory and consists of both additional code and VMS specific editing scripts to modify the official bash code. Regards, -John

Some Special Array Variables Only Kind Of Initialized

2014-01-10 Thread John R. Graham
0" [1]="11" [2]="14" [3]="18" [4]="19" [5]="20" [6]="27" [7]="35" [8]="80" [9]="85" [10]="100" [11]="250" [12]="995" [13]="996" [14]="10" [15]="1003" [16]="1013") ~ $ # Hmm again. Now shown correctly. ~ $ exit exit So far the Bash source code is a somewhat abstruse to me so I thought I'd ask for a little help. Thanks in advance. - John

Re: Some Special Array Variables Only Kind Of Initialized

2014-01-11 Thread John R. Graham
On 01/11/2014 04:55 PM, Chet Ramey wrote: On 1/10/14, 6:06 PM, John R. Graham wrote: Some of the automagically created special array variables (GROUPS and DIRSTACK for soer; perhaps others) appear to not be fully initialized. Their values don't appear correctly in some corner cases

Re: Some Special Array Variables Only Kind Of Initialized

2014-01-12 Thread John R. Graham
On 01/11/2014 06:18 PM, Chet Ramey wrote: You don't want the value generated in all cases. This has an effect on some variables: RANDOM, for example. I believe the current behavior is preferable. I guess I don't understand why returning stale values for the dynamic variables under any circum

trap documentation does not match trap behavior

2006-05-10 Thread John Gatewood Ham
Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='b

bash 3.2 match operator problem

2006-10-11 Thread John Gatewood Ham
Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='b

Re: bash 3.2 match operator problem

2006-10-12 Thread John Gatewood Ham
Thank you for your reply. I removed the quotes and the script crashes. There must be more required to convert my code and I hope someone will help. It is only 1 line, and once I know the new rules I can convert everything else on my own. I get this when just removing teh quotes on the right ha

Re: bash 3.2 match operator problem

2006-10-12 Thread John Gatewood Ham
1.tgz =~ \([^-]+\)-\([^-]+\)-\([^-]+\)-0*\([1-9][0-9]*\)\.tgz ]] set | grep BASH_REMATCH On Thu, 12 Oct 2006, Andreas Schwab wrote: John Gatewood Ham <[EMAIL PROTECTED]> writes: Thank you for your reply. I removed the quotes and the script crashes. There must be more required to conv

Re: bash 3.2 match operator problem

2006-10-12 Thread John Gatewood Ham
Ok, so at least I'm not crazy; there is some kind of bug. When you have a patch I'm eager to help test it. Thank you, JGH On Thu, 12 Oct 2006, Chet Ramey wrote: Ok, here is a smaller 3 line test case. I have attempted to handle the parenthesis as you instructed. Under bash 3.0.17 BASH_REMAT

3.2.3 regex vs. 3.1.x regex

2006-10-31 Thread John Gatewood Ham
I have attached an example program that can deal with the different regex parsing in 3.0.x vs. 3.1.x and regex sub-expressions. I have tested with 3.1.17 and 3.2.3 successfully. Since creating a script that actually worked with both bash versions took me a while, I suspect other people might wan

Re: ${//}: say how to non-destructively prefix/suffix

2006-11-05 Thread John Gatewood Ham
You can do this without external programs or pipes. See the attachment. JGH On Mon, 6 Nov 2006, Dan Jacobson wrote: Regarding the ${parameter/pattern/string} ${parameter//pattern/string} discussion on the man page: You don't mention what if pattern is null. Seems that will never ma

#! /bin/sh bash problem

2008-03-29 Thread John B. Brown
attempting to configure source for compiling. So far, any UNIX and Linux packages act the same; the above error. Fix: attempting to revert bash versions is not working; the older program will not download from openSuSE update sites. Shalom, John B. Brown. [EMAIL PROT

Re: #! /bin/sh bash problem

2008-03-30 Thread John B. Brown
Dear Bob, Thank you for that reminder of my mortality. Bob Proulx wrote: John B. Brown wrote: Description: Attempting to run 'configure', or any shell script with #! /bin/sh, results in the error message: "bash: ./configure: /usr/bin/bash: bad interpreter: Permiss

Re: #! /bin/sh bash problem

2008-03-30 Thread John B. Brown
Dear Bob, Thank you for your answers. Bob Proulx wrote: John B. Brown wrote: Thank you for that reminder of my mortality. :-) Bob Proulx wrote: Also, /usr/bin/bash is not a normal location for bash. Normally bash would reside in /bin/bash . Perhaps you also have one

Regular expression match operation with character classes fails in bash 3.2

2008-06-27 Thread John E. Wulff
"; fi This does not match either (more like the line in my broken shell script) xp=310; if [[ $xp =~ "[0-9][0-9]*" ]]; then echo "$xp matched"; else echo "$xp not matched"; fi This message was generated with openeSUSE 11.0 Linux and sent with Thunderbird. Best regards - John E. Wulff

-e test for file exists problem with dangling symlinks

2005-02-22 Thread John R. Vanderpool
this will probably be considered a non-bug (because the same behavior exists in bash, ksh, pdksh, irix, and gnu coreutils!) but i'ld at least like to hear an explanation if possible. -e file exists test fails if file is a dangling symlink, this to me does not seem like the correct behavior, the te

tab completing dir contents fails if dir name includes '[]'

2019-02-22 Thread John Van Sickle
baz' But $ ls foo\[\]/ Expands to 'foo[]//' and does not list 'baz' or the directory contents. I had a knowledgeable person in #bash (freenode) confirm this bug and they said it happens in the development branch as well. It does work correctly in bash 4.4.12. Thanks, John Van Sickle

Re: y.tab.c inclusion within the source tree

2014-09-27 Thread John E. Malmberg
e not current. Regards, -John wb8tyw@qsl.network

Re: Bash-4.3 Official Patch 30

2014-10-06 Thread John E. Malmberg
ld probably be more clear. No need to return a pointer to a static empty string. Regards, -John wb8tyw@qsl.network

Re: Source Code Bug in Bash-4.3.31 Module variables.c

2015-07-04 Thread John E. Malmberg
*, char *, int)); SHELL_VAR is a struct declared in variables.h. So passing it const char * should be causing problems. Regards, -John

Potential buffer under-run in shell_execve()

2016-08-15 Thread John E. Malmberg
27;\0'; This would cause sample[-2] to be set to 0. Most likely it would set part of fd to 0, but all that depends on the compiler. Since fd is not in use at this point, the under run would not be noticed. Regards, -John

Re: Bug: please document extended and alternate for loop syntax

2025-03-07 Thread John Wiersba via Bug reports for the GNU Bourne Again SHell
Thanks, Greg!!! On Friday, March 7, 2025 at 01:19:28 PM EST, Greg Wooledge wrote: On Fri, Mar 07, 2025 at 17:23:57 +, John Wiersba via Bug reports for the GNU Bourne Again SHell wrote: >    - Is our conversation being recorded somewhere in the gnu archives, so >that I can l

Bug: please document extended and alternate for loop syntax

2025-03-07 Thread John Wiersba via Bug reports for the GNU Bourne Again SHell
at https://unix.stackexchange.com/questions/306940/what-is-the-purpose-of-the-do-keyword-in-bash-for-loops/306944#306944 Thanks!-- John Wiersba

Re: Bug: please document extended and alternate for loop syntax

2025-03-07 Thread John Wiersba via Bug reports for the GNU Bourne Again SHell
constructs? - Is our conversation being recorded somewhere in the gnu archives, so that I can link to it in my stackoverflow question?  Otherwise, I'll just clip quotes from it to paste there. -- John On Friday, March 7, 2025 at 12:03:18 PM EST, Chet Ramey wrote: On 3/7/25 9:23 A

Re: Bug: please document extended and alternate for loop syntax

2025-03-10 Thread John Wiersba via Bug reports for the GNU Bourne Again SHell
be documented here would serve both aims? -- John On Monday, March 10, 2025 at 09:23:08 AM EDT, Chet Ramey wrote: On 3/7/25 12:23 PM, John Wiersba wrote: > You're discouraging it's use by not documenting it.  BTW, according to > those links below, apparently zsh documen

Re: Bug: please document extended and alternate for loop syntax

2025-03-10 Thread John Wiersba via Bug reports for the GNU Bourne Again SHell
On Monday, March 10, 2025 at 12:38:38 PM EDT, Zachary Santer wrote: > Another alternative would be for bash to print a warning whenever it > encounters this syntax. There are precedents for this kind of behavior in languages like perl which issue warnings for deprecated features for several rel

Re: Bug: please document extended and alternate for loop syntax

2025-03-11 Thread John Wiersba via Bug reports for the GNU Bourne Again SHell
middle ground between the two concerns.  I understand that, ultimately, you have to chose the solution that you feel is the best balance overall. Thanks for your maintenance of a critical piece of modern infrastructure! -- John On Monday, March 10, 2025 at 09:51:44 AM EDT, Chet Ramey wrote:

<    1   2   3