GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)
OS: Gentoo Linux
Originally met this while the download of iso file in firefox was
nearing completion, and I was preparing myself to move the
downloaded foobar.iso file elsewhere. I opened terminal with bash,
typed "mv foobar." in the Dow
it just gives us someone to ping when users report
build errors or submit PRs to modify the recipe. If so, just send me your
GitHub handle(s).
Adam
^
snprintf.c:1743:53: error: use of undeclared identifier 'format'
rval = vsnprintf_internal (&data, string, length, format, args);
^
14 errors generated.
make[1]: *** [snprintf.o] Error 1
make: *** [lib/sh/libsh.a] Error 1
make: *** Waiting for unfinished jobs
Do you have a patch for this as well?
Adam
OSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/signal.h:70:30:
note: variable 'sys_siglist' declared const here
extern __const char *__const sys_siglist[NSIG];
~^
siglist.c:107:24: error: cannot assign to variable 'sys_siglist' with
const-qualified type 'const char *const [32]'
sys_siglist[SIGALRM] = _("Alarm clock");
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/signal.h:70:30:
note: variable 'sys_siglist' declared const here
extern __const char *__const sys_siglist[NSIG];
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [siglist.o] Error 1
I can share the full build log if you need it.
Adam
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2
-fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=.
-fstack-protector-strong -Wformat -Werror=format-
uname output: Linux fractal 5.4.0-42-generic #46-Ubuntu SM
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2
-fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=.
-fstack-protector-strong -Wformat -Werror=format-
uname output: Linux fractal 5.4.0-42-generic #46-Ubuntu SM
*Configuration Information [Automatically generated, do not
change]:Machine: x86_64OS: linux-gnuCompiler: gccCompilation CFLAGS: -g -O2
-fdebug-prefix-map=/build/bash-LQgi2O/bash-5.0=. -f$uname output: Linux
amdubuntu 5.0.0-29-generic #31-Ubuntu SMP Thu Sep 12 13:05$Machine Type:
x86_64-pc-linux-gn
nd i686 configurations that I tried, the resulting
stripped mkdir.o file was the same with and without this change.
I hereby release any copyright interest I may have in this trivial
patch into the public domain.
Adam
diff --git a/examples/loadables/mkdir.c b/examples/loadables/mkdir.c
index b381119.
ons that I
tried.
I have not signed an FSF copyright assignment, but I hereby release my
copyright interest in this trivial change to the public domain. I
hope that suffices, but please let me know if that is not the case.
Thanks in advance for considering this patch submission.
Adam
diff --git a/l
$>declare MYSTERY_CMD=$(which mystery) && echo "All set." || echo "Adding
to missing array ... "
All set.
$>MYSTERY2_CMD=$(which mystery2) && echo "All set." || echo "Adding to
missing array ... "
Adding to missing array ...
Declaring a variable doesn't seem risky enough to eat up the return code
$ ls -al
/mnt/samsung32/.word_list_repo/instruments_song_repo/546725_pinstripe.mp3
lrwxrwxrwx 1 cronkilla cronkilla 74 Apr 29 19:30
/mnt/samsung32/.word_list_repo/instruments_song_repo/546725_pinstripe.mp3
->
/mnt/samsung32/.word_list_repo/master_song_repo/0/4/5/546725_pinstripe.mp3
$ [[ -L
"/mnt/s
ss to
short-circuit.
On Wed, Aug 24, 2016 at 2:52 PM, Adam Danischewski <
adam.danischew...@gmail.com> wrote:
> Let's put aside the fs type for second and talk about what data should be
> there and what should and shouldn't happen.
>
> When a parent script kicks off a chi
he Solaris Bash code and Linux Bash code.
On Wed, Aug 24, 2016 at 2:09 PM, Chet Ramey wrote:
> On 8/24/16 12:09 PM, Adam Danischewski wrote:
> > I was expecting it to be the pts.
>
> OK. That's just not how it works.
>
>
> --
> ``The lyf so short, the craft so long
I was expecting it to be the pts.
On Tue, Aug 23, 2016 at 4:58 PM, Chet Ramey wrote:
> On 8/23/16 2:28 PM, Adam Danischewski wrote:
> > I'm not sure if this is a bug, or a feature but I had to debug some code
> as
> > a result so I'd like to bring it to your att
I'm not sure if this is a bug, or a feature but I had to debug some code as
a result so I'd like to bring it to your attention, and if you know of a
better way to read from pipes please let me know.
#!/bin/bash
numstr=${1}
rdlnk=$(readlink /proc/$$/fd/0)
function get_input() {
## echo "PID: $$, P
BASH Man page conditional expressions:
-d file
True if file exists and is a directory.
This is also stated at https://www.gnu.org/software/bash/manual/bashref.html
The operator also returns True if the file exists and is a symlink to a
directory
-bash-4.1$ file foo
foo: dir
=50 ## No one can know about.
VAR+=${1}
echo $VAR
}
$ update 0
45
$ update TOPSECRET_NUMBER
95
## Successfully deduce that TOPSECRET_NUMBER is 50
## Instead could be CC_NUM, CCARD, SessionID, CrToken, etc.
On Tue, Mar 22, 2016 at 11:18 AM, Chet Ramey wrote:
> On 3/22/16 10:47 AM, A
On Tue, Mar 22, 2016 at 10:47 AM, Adam Danischewski <
adam.danischew...@gmail.com> wrote:
> I noticed an issue using the parameter built-in variable $@ breaking
> out of contained strings when utilized in functions.
>
> For example, consider the following bash script: m.bsh
> #!/
I noticed an issue using the parameter built-in variable $@ breaking
out of contained strings when utilized in functions.
For example, consider the following bash script: m.bsh
#!/bin/bash
echo "$#"
while getopts d: OPTION "$@"; do
case "$OPTION" in
d)
echo "the optarg is ${OPTARG##*=}, o
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/share/local
--> -d ''
On Tue, Jan 19, 2016 at 11:49 AM, Greg Wooledge wrote:
> On Tue, Jan 19, 2016 at 11:39:07AM -0500, Adam Danischewski wrote:
> > Bash also removes the single quotes before it hits read when the single
> > quotes are attached to the delimiter option (-d'
> > Other shells must go out of their way to suppress it, then.
>
> Most of the other shells remove NUL bytes from `read's input. They
> probably do this before checking the delimiter.
Bash also removes the single quotes before it hits read when the single
quotes are attached to the delimiter op
It seems the parameter for the delimiter for the read built-in behaves
differently for the NULL case, and it is a very useful case. I found this
after a difficult to track down bug appeared in some of my code, so I
thought I would pass it on to you.
If it is expected behavior I didn't see it in t
--- bash-4.2/doc/bash.1.orig2015-06-10 15:09:04.0 +0200
+++ bash-4.2/doc/bash.1 2015-06-10 15:19:55.0 +0200
@@ -117,6 +117,18 @@
This option allows the positional parameters to be set
when invoking an interactive shell.
.TP
+.B \-p
+If the
+.B \-p
+is
+.B not
+present and th
..
fi
if [ -n "$USE_X" ]; then
set -x
fi
if [ "$exitstatus" -ne "0" ]; then
exit $exitstatus
fi
}
This message is a crosspost from
http://stackoverflow.com/questions/27259418/how-to-modify-call-stack-in-bash
Adam
Hi bug-bash,
The patch bash43-028 on ftp.gnu.org doesn't apply. It has a load of
hunks with yacc filenames in:
! #line 324 "/usr/src/local/bash/bash-4.3-patched/parse.y"
But the filename in the upstream source is different, so that doesn't
match.
Thank
Bash Version: 4.2
Description:
I downloaded a fresh copy of bash 4.2 from the GNU project archives (
http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz), configured with:
./configure --disable-job-control --enable-minimal-config
--disable-readline
(Self-Serving Explanation: I'm attempting to debug
pc' -DLOCALEDIR='/usr/share/locale' -D$
uname output: Linux adam-linux 2.6.28-15-generic #49-Ubuntu SMP Tue Aug
18 18:40:08 UTC 2009 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu
Bash Version: 3.2
Patch Level: 48
Release Status: release
Description:
When tab-completing the name
On 2006-12-29, Andreas Schwab <[EMAIL PROTECTED]> wrote:
> Read the second last sentence of the paragraph.
Makes sense.
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash
On 2006-12-27, Richard Neill <[EMAIL PROTECTED]> wrote:
> 1)substr support for a negative length argument.
> For example,
> stringZ=abcdef
> echo ${stringZ:2:-1} #prints cde
>
> i.e. ${string:x:y}
> returns the string, from start position x for y characters.
> but, if x is negative, start
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/opt/share/locale' -DPACKAGE='ba
7;local' to be a modifier rather than a
separate builtin.
--
Adam Monsen
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash
TICKED=`false`
echo RV: $?
# prints "RV: 1"
foo()
{
local TICKED=`false`
echo RV: $?
}
foo
# prints "RV: 0", but I would expect "RV: 1"
--
Adam Monsen
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba
Here's a proposed patch for Bash (or readline) which implements a
usability feature. This feature reduces the amount of text output
when filename completion shows a list of files after pressing TAB
twice (or once if you configure it so), showing as first letter
what you have to type to disambiguat
I'm reading http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
and I see no instructions on how to subscribe to this mailing
list. I've checked http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
too and there's no info there.
Any info?
___
Bug-bas
NDOR='dec' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl
-I/home/adam/bash-3.0/lib/intl -g
uname output: OSF1 libus.csd.mu.edu V4.0 1229 alpha
Machine Type: alphaev67-dec-osf4.0f
Bash Version: 3
NDOR='dec' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl
-I/home/adam/bash-3.0/lib/intl -g
uname output: OSF1 libus.csd.mu.edu V4.0 1229 alpha
Machine Type: alphaev67-dec-osf4.0f
Bash Version:
Full Article:
http://service.spiegel.de/cache/international/0,1518,341239,00.html
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash
Lese selbst:
http://www.die-kommenden.net/dk/zeitgeschichte/graeberschaendung.htm
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash
40 matches
Mail list logo