tiny tweak to examples/functions/autoload.v3 (email addresses)

2025-04-11 Thread Mark Kennedy
From 29e0bd45dd449cf67787d23ea482b54ddb435690 Mon Sep 17 00:00:00 2001 From: "Mark T. Kennedy" Date: Fri, 11 Apr 2025 19:22:05 -0400 Subject: [PATCH] Update mtk's email addresses Signed-off-by: Mark T. Kennedy --- examples/functions/autoload.v3 | 4 ++-- 1 file changed, 2 i

Re: waiting for process substitutions

2024-07-02 Thread Mark March via Bug reports for the GNU Bourne Again SHell
$'foo\nbar' | tee >(echo first ; exit 1) >(wc ; sleep 10 ; echo wc) >(tail -n 1; echo tail)wait blocks for 10s under Bash 5.2.21. Likely just a documentation bug. -Mark On Saturday, June 29, 2024 at 07:52:34 PM PDT, Zachary Santer wrote: On Sat, Jun 29, 2024 at 2:07 P

Re: DEBUG trap in a background shell steals controlling terminal forcing parent shell to exit

2024-07-01 Thread Mark March
Thank you for a quick fix. Bash 5.2.21 with the patch applied no longer exhibits the problem in my tests. -Mark On Thursday, June 27, 2024 at 06:05:28 AM PDT, Chet Ramey wrote: On 6/18/24 4:55 PM, Mark March wrote: > I am working with a large Bash code base where most scripts disa

Re: DEBUG trap in a background shell steals controlling terminal forcing parent shell to exit

2024-06-25 Thread Mark March
e any work-arounds other than not using the DEBUG trap or leaving job control on? -Mark On Tuesday, June 18, 2024 at 02:48:51 PM PDT, Mark March wrote: I am working with a large Bash code base where most scripts disable job control and the DEBUG trap is used extensively. I noticed th

DEBUG trap in a background shell steals controlling terminal forcing parent shell to exit

2024-06-18 Thread Mark March
ts, although I was not able to confirm this with strace. In my repro pipeline_pgrp is non-zero at the time of DEBUG trap execution. gdb shows that it was set to shell_pgrp in make_child() that forked /bin/echo without job control (+m). The other condition of the if statement is also satisfied. -Mark

bash feature suggestion, show command RC codes in history

2023-04-23 Thread Mark Schlegel
like the HISTTIMEFORMAT activates the HISTTIME Mark

Re: Man page section for complete's -C option is inconsistent

2022-07-06 Thread Mark Chandler via Bug reports for the GNU Bourne Again SHell
in why it's more detailed there and not for -C. It is curious that they're so different. Cheers, Mark C. On 07/07/2022 00:11, Chet Ramey wrote: On 7/4/22 12:03 AM, Mark Chandler via Bug reports for the GNU Bourne Again SHell wrote: Configuration Information [Automatically genera

Man page section for complete's -C option is inconsistent

2022-07-03 Thread Mark Chandler via Bug reports for the GNU Bourne Again SHell
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs

a nameref may resolve to different variables in assignment and parameter expansion

2022-01-06 Thread Mark March
cently in  https://lists.gnu.org/archive/html/bug-bash/2020-08/msg00206.html. I use namerefs extensively in a fairly large Bash code base for parameter passing, and I have to use fairly elaborate work-arounds to detect local variables shadowing outer-scope variables that the function operates on via namerefs. -Mark

read -t0 may report that input is available where none is possible

2021-11-20 Thread Mark March
in particular, a file descriptor is also ready on end-of-file)." -Mark

Re: ${y@a} on an empty array y fails with 'y: unbound variable' if run with set -u

2021-10-26 Thread Mark March
amp;& { set +u; ... set -u; } around my [[ ${foo@a} =~ A ]] for now. Thanks again for your explanation and context. -Mark On Tuesday, October 26, 2021, 07:02:59 AM PDT, Chet Ramey wrote: On 10/25/21 8:24 PM, Mark March wrote: > If -u is on and you declare a simple or associative array

${y@a} on an empty array y fails with 'y: unbound variable' if run with set -u

2021-10-25 Thread Mark March
of the fix that you described in item (n) of the most recent change log: n. Fixed a bug that caused ${foo@a} to treat foo as an unset variable if it was an array without a value for subscript 0/"0" but had other set elements Thanks, -Mark

Re: EXIT trap is not executed after an exec failure in a non-interactive shell

2021-10-08 Thread Mark March
her hand, not doing this will lead to subtle bugs where cleanup code will suddenly not run, or processes unexpectedly catch signals that have been previously blocked. -Mark On Friday, October 8, 2021, 08:02:31 AM PDT, Chet Ramey wrote: On 10/1/21 2:16 PM, Mark March wrote: > Ok, thank yo

Re: EXIT trap is not executed after an exec failure in a non-interactive shell

2021-10-01 Thread Mark March
Ok, thank you for clarifying. There is nothing in the documentation about this behavior as far as I can tell. I would suggest adding a line about traps getting reset after a failed exec to the paragraph on 'execfail'. -Mark On Friday, October 1, 2021, 07:02:34 AM PDT, Chet Ram

Re: EXIT trap is not executed after an exec failure in a non-interactive shell

2021-09-30 Thread Mark March
tin command.  An  interactive  shell  does  not   exit if exec fails. It says nothing about the traps getting reset. In my example the script clearly continues to execute after the failed exec, as it should (since execfail is set). -Mark On Thursday, September 30, 2021, 04:47

EXIT trap is not executed after an exec failure in a non-interactive shell

2021-09-30 Thread Mark March
Output: bash: line 3: /home/march/does-not-exist: No such file or directory exec failed in bash-5.0.17(1)-release The "exiting..." line is missing. If you comment out exec ~/does-not-exist, "exiting..." will be printed as expected. I get this under 5.1.8 as well, built with gcc 9.3 This is on Ubuntu 20 on x86_64. -Mark

Bash 4 crash: "f(){ declare -a x;declare -A x;};f"

2019-02-12 Thread Mark
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-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/l

Extglob *?(a)b matches every string

2018-08-12 Thread Mark Polyakov
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS:A -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/s

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

2014-09-28 Thread Mark Goldfinch
should take steps to ensure y.tab.c is actually generated. For everyone else surely it should be their responsibility to have the required tools available at build time? Thanks, Mark.

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

2014-09-28 Thread Mark Goldfinch
Greetings, On 28 Sep 2014 19:41, "John E. Malmberg" wrote: > > On 9/27/2014 6:49 PM, Mark Goldfinch wrote: >> 1) Remove y.tab.c from the original tarball, and ensure the clean method >> within Makefile removes it > > The VMS build procedure currently needs the y

y.tab.c inclusion within the source tree

2014-09-27 Thread Mark Goldfinch
will result, at worst a bash build which is thought to address problems, won't. Thoughts? Thanks, Mark.

Re: Bash-4.3 Official Patch 25

2014-09-25 Thread mark
n for `x' this is a test bash-4.3# (X='() { (a)=>\' bash -c "echo ls /etc; cat echo") bash: X: line 1: syntax error near unexpected token `=' bash: X: line 1: `' bash: error importing function definition for `X' ls /etc cat: cannot open echo I've ju

Re: Bash-4.3 Official Patch 25

2014-09-25 Thread Mark Ashley
Ah great, thanks for that...though since there's still the bug in p025 (see http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-7169 ) I'll keep spinning my wheels and watching the git branches until p026 rolls out. ta, Mark On Thu, Sep 25, 2014 at 3:55 PM, Chris F.A. Johnson wr

Re: Bash-4.3 Official Patch 25

2014-09-24 Thread mark
>Bash-Release:4.3 >Patch-ID:bash43-025 As a binary distribution archive maintainer, I'd be keen to see the authors distributing a cumulative bash-4.3p025.tar.gz source bundle (probably p026 to nail the new issues above). The ftp://ftp.cwru.edu/pub/bash site just has the main 4.

Fwd: Bug when trapping exit from subshell

2014-05-19 Thread Mark Ferrell
On Mon, May 19, 2014 at 10:45 AM, Greg Wooledge wrote: > On Mon, May 19, 2014 at 10:39:59AM -0700, Mark Ferrell wrote: >> I'm sorry, but the lack of consistency still sounds like it is a bug >> in bash. The behaviour I would expect is functionally equivalent to >>

Re: Bug when trapping exit from subshell

2014-05-19 Thread Mark Ferrell
/dev/null 2>&1 || err_handler set -e exit_handler() { echo "exit code: $?"; } main() {( trap exit_handler 0 /bin/false >> /dev/null 2>&1 )} main "$@" On Mon, May 19, 2014 at 7:00 AM, Chet Ramey wrote: > On 5/18/14, 12:56 PM, Mark Ferrell wrote: &

Re: Bug when trapping exit from subshell

2014-05-18 Thread Mark Ferrell
e exit handler is called, you just muted it. remove the redirections, and > you'll also notice you need a space after your ! > > > On 16 May 2014 12:41, Mark Ferrell wrote: >> >> The following script properly reports the exit code to the calling >> environment, , b

Bug when trapping exit from subshell

2014-05-16 Thread Mark Ferrell
The following script properly reports the exit code to the calling environment, , but the exit handler is not called if a function triggers the exit vs an external command. Script executed via: bash

RE: cd completion using aliased cd command

2013-07-17 Thread Mark W. Johnson
that I was having a name collision problem. I changed my function _cd to __cd, and now tab completion works as it did before. Seems _cd is being defined in /etc/bash_completion so my _cd was trashing this function and causing auto-complete weirdness. Mark -Original Message- From:

RE: cd completion using aliased cd command

2013-07-17 Thread Mark W. Johnson
blem. If I set the alias but then unset -f _cd, I get: cd bash: completion: function `_cd' not found So it's as if once the alias is set, tab completion always follows the alias even after I unset it. Mark -Original Message- From: Linda Walsh [mailto:b...@tlinx.o

cd completion using aliased cd command

2013-07-16 Thread Mark W. Johnson
From: mwjohnso To: bug-bash@gnu.org Subject: cd completion using aliased cd command Configuration Information [Automatically generated, do not change]: Machine: i686 OS: cygwin Compiler: gcc-4 Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE=

Re: How to test if a link exists

2013-06-25 Thread Mark Young
I'm willing to bet there is plenty of code out there that tries to decide whether it is safe to create a file and would fall foul of an errant dead symbolic link. A little off topic but are -a and -e identical? Cheers, mark

How to test if a link exists

2013-06-21 Thread Mark Young
tance creating a symbolic link:- E.g. $ ln -s c a $ ls -l a b c ls: b: No such file or directory ls: c: No such file or directory lrwxrwxrwx 1 marky tools 1 Jun 21 14:41 a -> b Is this an error in bash? What test should I use to decide if a file exists (including dead symbolic links)? Cheers, Mark

Bug in nested parameter expansion.

2012-03-19 Thread Mark Edgar
ifests on BASH_VERSION="4.1.5(1)-release" and the latest Bash release BASH_VERSION="4.2.0(1)-release", but not on BASH_VERSION="3.2.48(1)-release".     -Mark

[PATCH] builtins/test.def: Update string equality operator.

2010-01-31 Thread Mark Polesky
x86_64-pc-linux-gnu Bash Version: 4.0 Patch Level: 33 Release Status: release Description: `help test' output is missing `==' string equality operator. Repeat-By: $ help test Fix: Push the attached patch? From 4328a3719f591011f5ffab0577e325f5e582e539 Mo

Re: bash manual

2006-10-17 Thread V. Mark Lehky
OK, Thank You, VML. Chet Ramey wrote: V. Mark Lehky wrote: Hi, I can't find this text in my manual. Is there a more recent version somewhere than <http://www.gnu.org/software/bash/manual/bashref.html>? Sure. The 2.05b manual is over four years old. Try http://cnswww.cns.cwr

Re: bash manual

2006-10-17 Thread V. Mark Lehky
o the same thing? Or did I interpret that wrong? Thanx, VML. Chet Ramey wrote: V. Mark Lehky wrote: Hi, This is in reference to "Edition 2.5b, last updated 15 July 2002, of The GNU Bash Reference Manual". Please, please, please, for the sake of future generations, make the followin

bash manual

2006-10-14 Thread V. Mark Lehky
Hi, This is in reference to "Edition 2.5b, last updated 15 July 2002, of The GNU Bash Reference Manual". Please, please, please, for the sake of future generations, make the following addition in two spots in the next release of the manual. I just spent like three hours hunting this down:

Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8

2006-04-26 Thread Mark Reis
found If I changed the recommended make statement to: make STATIC_LD= LOCAL_LIBS='-B dynamic -R/usr/lib -lnsl -ldl -B static'. It works on both Sol 9 and Sol 10 now. Cheers, Mark Chet Ramey wrote: > Mark Reis wrote: > >> I'm attempting to build a static versio

Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8

2006-04-26 Thread Mark Reis
shared .so libraries under INTL_LIB and LIBINTL . It was a simple fix to switch them to ".a". Thanks for the help -Mark Chet Ramey wrote: > Well, the compiler's not finding , that much is clear. > > Chet ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

3.1 Build error on Solaris 9 w/ Sun CC v5.8

2006-04-26 Thread Mark Reis
I'm attempting to build a static version of Bash 3.1 on Solaris 9 using Sun's cc version 5.8 2005/10/13. It fails during make when compiling (I'm attempting to install to the /usr/cs directory). Any help would be appreciated. make STATIC_LD= LOCAL_LIBS='-B dynamic -ldl -B static' *

printf error?

2006-04-03 Thread Robinson, Mark
n" 1' 1 I would expect: % /bin/bash --version GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10) Copyright (C) 2004 Free Software Foundation, Inc. % /bin/bash -c 'printf "%0.5d\n" 1' 00001 Any ideas, anyone? cheers mark -- Mark Robinson Consultant Vi

introducing BASHRC env var

2006-03-27 Thread Robinson, Mark
login. Yes, I now you can specify an alternate bashrc with the --rcfile parameter, but then subsequent instances of bash invoked by screen, for instance, do not know about the alternate location of bashrc. cheers mark ---8

Out of Office AutoReply: Auf Streife durch den Berliner Wedding

2005-05-17 Thread Kalla, Mark
Title: Out of Office AutoReply: Auf Streife durch den Berliner Wedding I will be out of the office traveling on Thursday and Friday but will monitor my email.  If you  have any questions, please contact my assistant Maggie Hegarty at 612-492-6019. _

Augen auf

2005-05-15 Thread mark
http://www.rocknord.de http://www.aktivefrauenfraktion.tk http://www.kopfmord.de http://www.das-gibts-doch-nicht.de http://www.zukunft-europa.info/index.html http://www.geocities.com/scorpios2602/links.html http://www.g-d-f.de http://www.bewaeltigen.de http://www.wk-institut.de http://www.jungefrei