the HISTTIMEFORMAT activates the HISTTIME
Mark
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 generated, do not change]:
Machine: x86_64
OS: linux-gnu
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
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
rticular, a file descriptor is also ready on end-of-file)."
-Mark
{ 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' and se
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
and, 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 you for clar
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 Ramey
wrote
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
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
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'
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'
Greetings,
On 28 Sep 2014 19:41, John E. Malmberg wb8...@qsl.net 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.tab.c file, as the tools
is actually generated.
For everyone else surely it should be their responsibility to have the
required tools available at build time?
Thanks,
Mark.
, at
worst a bash build which is thought to address problems, won't.
Thoughts?
Thanks,
Mark.
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 ch
: cannot open echo
I've just issued the new Solaris packages on the archive.
http://www.ibiblio.org/pub/packages/solaris/sparc/
-rw---1 mark users 7463936 Sep 26 00:06
bash.4.3.p026.SPARC.32bit.Solaris.10.pkg
-rw---1 mark users 7745024 Sep 26 00:06
bash.4.3.p026.SPARC.32bit.Solaris
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.3
/false /dev/null 21
)}
main $@
On Mon, May 19, 2014 at 7:00 AM, Chet Ramey chet.ra...@case.edu wrote:
On 5/18/14, 12:56 PM, Mark Ferrell wrote:
I believe that if you actually execute the script as intended you will
find that your reading of the code is incorrect. Really though,
redirection should
On Mon, May 19, 2014 at 10:45 AM, Greg Wooledge wool...@eeg.ccf.org 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
'do_cmd /dev/null
, and
you'll also notice you need a space after your !
On 16 May 2014 12:41, Mark Ferrell ma...@homeonderanged.org wrote:
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
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 script false;echo $?
bash script /bin/false;echo $?
Expected the function 'exit_handler()' to be
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.org]
Sent: Tuesday, July 16, 2013 11:41 PM
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: Chet
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'
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
Is this an error in bash?
What test should I use to decide if a file exists (including dead symbolic
links)?
Cheers,
Mark
Bash release BASH_VERSION=4.2.0(1)-release, but not
on BASH_VERSION=3.2.48(1)-release.
-Mark
: release
Description:
`help test' output is missing `==' string equality operator.
Repeat-By:
$ help test
Fix:
Push the attached patch?
From 4328a3719f591011f5ffab0577e325f5e582e539 Mon Sep 17 00:00:00 2001
From: Mark Polesky markpole...@yahoo.com
Date: Sun, 31 Jan 2010
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'
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 version of Bash 3.1 on Solaris 9 using
Sun's cc
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'
1
Any ideas, anyone?
cheers
mark
--
Mark Robinson
Consultant
Vignette Professional Services
+61 2 9455 5317
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
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.
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
36 matches
Mail list logo