Bash does not complete the filename once the situation becomes singular

2025-05-12 Thread Adam Purkrt
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

Re: Build fails with Xcode 12

2020-09-21 Thread Adam Stewart
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

Re: Build fails with Xcode 12

2020-09-21 Thread Adam Stewart
^ 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

Build fails with Xcode 12

2020-09-19 Thread Adam Stewart
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

Shell does not recognize umlaut in URL

2020-07-23 Thread Lutz 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

Error expanding variable containing a directory name

2020-07-23 Thread Lutz 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

ARGV[@] Not Always Populated

2019-10-01 Thread Adam Danischewski
*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

[Patch] Remove unnecessary check in mkdir_builtin

2019-05-24 Thread Adam Richter
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.

[Patch] potentially uninitialized variable in rl_generic_bind

2019-05-24 Thread Adam Richter
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

Declared Var Dynamic Initialization = No Return Code Back?

2017-09-12 Thread Adam Danischewski
$>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

Bash -f Test Operator - Not working as expected

2017-04-29 Thread Adam Danischewski
$ 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

Re: Open pipe passed to child process

2016-08-24 Thread Adam Danischewski
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

Re: Open pipe passed to child process

2016-08-24 Thread Adam Danischewski
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

Re: Open pipe passed to child process

2016-08-24 Thread Adam Danischewski
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

Open pipe passed to child process

2016-08-23 Thread Adam Danischewski
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

[Documentation] -d returns true for symlink to directory

2016-07-21 Thread Adam McKenna
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

Re: Bash $@ Parameter Variable Breaking Out of Strings

2016-03-22 Thread Adam Danischewski
=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

Re: Bash $@ Parameter Variable Breaking Out of Strings

2016-03-22 Thread Adam Danischewski
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 > #!/

Bash $@ Parameter Variable Breaking Out of Strings

2016-03-22 Thread Adam Danischewski
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

mv to a non-existent path now renames instead of failing

2016-03-19 Thread adam
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

Re: read Built-in Parameter Behavior -- Null Byte Delimiter

2016-01-19 Thread Adam Danischewski
--> -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'&#

Re: read Built-in Parameter Behavior -- Null Byte Delimiter

2016-01-19 Thread Adam Danischewski
> > 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

read Built-in Parameter Behavior -- Null Byte Delimiter

2016-01-16 Thread Adam Danischewski
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

[PATCH] document the -p invocation flag

2015-06-10 Thread Adam Endrodi
--- 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

When exactly it is possible to modify BASH_LINENO variable?

2014-12-03 Thread Adam Ryczkowski
.. 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

Patch bash43-028 doesn't apply

2014-10-01 Thread Adam Sampson
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

Disabling Job Control or Enabling Minimal Config Breaks Build

2012-11-27 Thread Adam Pippin
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

Tab completion of commands in directories with spaces adds extra backslashes.

2009-10-27 Thread Adam Buchbinder
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

Re: Bash - various feature requests

2006-12-29 Thread Grzegorz Adam Hankiewicz
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

Re: Bash - various feature requests

2006-12-29 Thread Grzegorz Adam Hankiewicz
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

Bad tokenisation inside backticks

2006-12-29 Thread Adam Sampson
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

Re: unable to capture return value using backticks and local

2006-08-09 Thread Adam Monsen
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

unable to capture return value using backticks and local

2006-08-08 Thread Adam Monsen
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

bash 3.1 does not compile for ./configure --disable-readline

2005-12-21 Thread Adam Buraczewski
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

Visual completion ellipsis

2005-12-10 Thread Grzegorz Adam Hankiewicz
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

How do I subscribe to this mailing list

2005-11-21 Thread Grzegorz Adam Hankiewicz
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

problem with bash on tru64 4.0f

2005-05-17 Thread adam . scheblein
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

bash problems with tru64 4.0f

2005-05-17 Thread adam . scheblein
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:

Dresden Bombing Is To Be Regretted Enormously

2005-05-15 Thread adam
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

Graeberschaendung auf bundesdeutsche Anordnung

2005-05-14 Thread adam
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