bug in unset in POSIX mode

2005-05-20 Thread Eric Blake
# BUG - foo should be unset $ echo ${foo-unset} ${bar-unset} bar blah $ unset foo bar $ foo=bar bar=blah . ./dot# Correct - only bar remains set $ echo ${foo-unset} ${bar-unset} unset blah $ - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN

Re: Broken parse on `'${'`

2005-07-11 Thread Eric Blake
are only made public when you are ready to make a new release. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG

lack of documentation on use of $TMPDIR

2005-07-15 Thread Eric Blake
is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC2Dnq84KuGfSFAYARAokyAJwLD

Re: bash.exe.stackdump

2005-07-27 Thread Eric Blake
a formula to the cygwin list of what went wrong. From there, I can help you decide if it is a porting bug specific to cygwin or a true upstream bug. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin

stty settings override ~/.inputrc?

2005-08-05 Thread Eric Blake
than stty settings being forced onto key bindings every time the prompt is redisplayed. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg

Re: readline dynamic library configuration for cygwin

2005-08-09 Thread Eric Blake
2005-08-06 15:03:02.389125000 - 0600 at at -466,6 +468,23 at at SHLIB_STATUS=unsupported ;; +cygwin*) ... + SHLIB_LIBS=-lcurses SHLIB_LIBS='$(TERMCAP_LIB)' -- Eric Blake ___ Bug-bash mailing list Bug-bash@gnu.org http

Re: --with-installed-readline breaks tilde-expansion

2005-08-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 7/23/2005 7:14 AM: The following patch, to both readline and bash, allows readline to export a hook (rather than trying to import a function, which doesn't work in dynamic libraries for at least cygwin), so that bash

Re: --with-installed-readline breaks tilde-expansion

2005-08-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 8/12/2005 7:20 AM: According to Eric Blake on 7/23/2005 7:14 AM: The following patch, to both readline and bash, allows readline to export a hook (rather than trying to import a function, which doesn't work in dynamic

memleak in sh_realpath

2005-08-27 Thread Eric Blake
in the presence of drive letters. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

Re: Change of the Makefile

2005-09-21 Thread Eric Blake
, it is an extension of GNU make that is not portable to other make programs. If bash is to remain compilable on as many platforms as it currently is, its Makefiles must not be changed to use these non-portable extensions. -- Eric Blake ___ Bug-bash mailing list Bug

Re: [PATCH] fix bashdb script handling of tmp directory

2005-09-22 Thread Eric Blake
/bug-bash - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

Re: ksh style [[ conditional does not match patterns

2005-12-08 Thread Eric Blake
eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDmO

readline signal bug

2005-12-23 Thread Eric Blake
This was reported on the cygwin list. I don't know if bash-3.1/ readline-5.1 have fixed the issue or not. I also don't have access to a debian machine to try reproducing it myself. -- Forwarded Message: -- From: Christopher Faylor [EMAIL PROTECTED] To: cygwin@cygwin.com

Re: $(case x in x)...

2005-12-28 Thread Eric Blake
that POSIX requires your example to succeed, and that bash has a bug (FYI, the bug also appears in my installed versions of zsh and ksh). Meanwhile, as a workaround, use: $ k=$(case x in (x) :; esac) -- Eric Blake ___ Bug-bash mailing list Bug-bash

Re: $(case x in x)...

2005-12-28 Thread Eric Blake
was consumed to close the $(), and $ # without a warning of a missing eof delimiter $ echo $( echo abc # a comment with ) ) abc ) $ # oops, an extra ) snuck through to the outer echo $ echo $( echo ')' ) ) $ # The only correct answer of the three -- Eric Blake

Re: $(case x in x)...

2006-01-02 Thread Eric Blake
) ) hello -- Eric Blake ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Re: Conditional expression problem: both -a file and ! -a file return true

2006-01-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 1/7/2006 8:17 AM: Now, in this case, you have three arguments, and POSIX requires that the binary operator -a have higher precedence than the ! negation operator on a 2-argument test. And the one-argument test

Re: Botched assertion in malloc]

2006-01-24 Thread Eric Blake
myself...-bash: [: =: unary operator expected Repeat-By: Logging in via SSH Works for me. You'll have to provide more details, such as the actual line with [ that failed when bash tried to execute it. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED

Re: prompt with \[ \] corrupted by vi history search

2006-02-18 Thread Eric Blake
at those extra lines! - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

Re: prompt with \[ \] corrupted by vi history search

2006-02-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 2/17/2006 9:48 PM: It seems I spoke too soon. Your patch works great on single-line prompts with invisible characters, but breaks on multiline prompts. I have tested this patch with both emacs (M-p) and vi (ESC

Re: behavior diff. btw. 3.0 and 3.1 (may be a bug)

2006-02-24 Thread Eric Blake
) is incorrect in performing newline joining. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

Re: Bash-3.1 Official patch 10

2006-02-24 Thread Eric Blake
$?; }) - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD

Re: quoting inside backquotes in 3.1

2006-03-06 Thread Eric Blake
problem that prompted the change. I look forward to seeing what you come up with. I wish I could help by coming up with a solution myself, but have not had time to do so yet. -- Eric Blake ___ Bug-bash mailing list Bug-bash@gnu.org http

Re: quoting inside backquotes in 3.1

2006-03-07 Thread Eric Blake
. -- Eric Blake ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Re: LINES and COLUMNS variables are not exported

2006-03-10 Thread Eric Blake
invoking your app that does not know how to query the terminal for its normal size. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment

Re: i/o redirection into variables

2006-03-28 Thread Eric Blake
into a variable. variable=$(command 21) - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http

tail after tab completion in prompt

2006-03-31 Thread Eric Blake
dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: test -f with no args is true

2006-04-15 Thread Eric Blake
-empty and 1 if it is empty. Since -f is two characters, it is non-empty and returns true. It is only a file test if there are two arguments handed to 'test'. Here's a hack fix: And the hack is wrong, because it would violate POSIX semantics. - -- Life is short - so eat dessert first! Eric

Re: paste-from-clipboard dosen't works on Cygwin platform

2006-04-18 Thread Eric Blake
terminal to not bind Ctrl-V (add stty lnext undef to your ~/.bash_profile). If you like emacs bindings, where Ctrl-Q is the quoting character instead of Ctrl-V, you could do stty lnext ^Q stop undef instead. -- Eric Blake ___ Bug-bash mailing list Bug-bash

Re: Builtin command echo does not work properly.

2006-04-19 Thread Eric Blake
\ttext $BASH_VERSION $0 \ttext 3.1.14(4)-release /bin/bash $ shopt xpg_echo xpg_echooff Fix: Use /usr/bin/echo to work around this problem. /usr/bin/echo from coreutils is not yet fully POSIX compliant, which is why it will accept options even when bash won't. -- Eric Blake

Re: Bash-3.1.17 gets lost looking for end of string in certain contexts

2006-05-02 Thread Eric Blake
, such as http://lists.gnu.org/archive/html/bug-bash/2006-03/msg00039.html. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG

Re: Bash-3.1.17 gets lost looking for end of string in certain contexts

2006-05-02 Thread Eric Blake
[Please keep replies on the list, so that others that encounter the same problem may see it in the archives, and so that you can get comments from more than just me.] On Tuesday 02 May 2006 09:15, you wrote: According to Richard on 5/1/2006 5:46 PM: 602 status=`echo 'beriberi'| {

Re: Fwd: Re: Bash-3.1.17 gets lost looking for end of string in certain contexts

2006-05-04 Thread Eric Blake
dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEWfmR84KuGfSFAYARAsYZAKDBMoajK

Re: tail after tab completion in prompt

2006-05-06 Thread Eric Blake
\] - ---8-8--- If type ls /usr/src twice, it will show ls /usr/src/usr/src. -- Eric Blake ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Re: feature request

2006-06-01 Thread Eric Blake
of each command when it terminates. Bash already has this, in the prompt. For example, I use: PS1='${PIPESTATUS[*]}\$ ' At which point I see the exit status of every command in the previous pipeline. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP

Re: Cygwin and Vista

2006-06-18 Thread Eric Blake
on) has not yet been ported to that platform. At any rate, the cygwin mailing list is a better place to ask these sorts of questions. -- Eric Blake ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Re: Bash expansion nuance or bug?

2006-06-21 Thread Eric Blake
. This is intentional, so that you can do something like: alias nice='nice -n 5 ' and then 'nice ls' will still use the aliases you normally have for ls. -- Eric Blake ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug

Re: terminating lines with accidental eof

2006-07-05 Thread Eric Blake
(in which case, it is really trying to be POSIX compliant, rather than compatible to old broken bourne sh), or using full extensions. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key

Re: why doesn't this error message go to the bit bucket?

2006-08-28 Thread Eric Blake
it will work first: $ (unalias foo) /dev/null 21 unalias foo - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla

Re: Problems with bash+cygwin and longjmp

2006-09-07 Thread Eric Blake
there is no bug to report on this list. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] volunteer cygwin bash packager -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using

Re: The removal fails if the first number é p receded from one zero not meaningful one.

2006-09-07 Thread Eric Blake
a decimal answer. Case 2) pippo=$[09-1] Again, you used octal numbers, except that 8 and 9 are not valid octal digits. Don't use the leading 0 if you don't want octal numbers. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Re: set -e vs. !

2006-09-08 Thread Eric Blake
of an AND or OR list, and is not a pipeline preceded by the ! reserved word, then the shell shall immediately exit. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net

Re: Bash2 segfaults in while: do loops

2006-09-15 Thread Eric Blake
is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: Reading bytes one-by-one from pipe of process substitution

2006-09-28 Thread Eric Blake
eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFHJWt84KuGfSFAYARAgoNAKDFOBPp72PC

Re: Can I get a hint, please?

2006-10-07 Thread Eric Blake
the semantics of the command sounds admirable, but doing so by parsing the target executable just does not sound like the right approach to me. We don't need to bloat bash by adding all of the binutils capabilities into it. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED

Re: Problem with echo -e in bash 3.2

2006-10-21 Thread Eric Blake
in what escape sequences it understands. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http

Re: Spaces in args, escapes, and command substitution

2006-10-28 Thread Eric Blake
just do $(basename $f1), rather than $(basename \$f1\). - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla

Re: Spaces in args, escapes, and command substitution

2006-10-28 Thread Eric Blake
dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: Spaces in args, escapes, and command substitution

2006-10-29 Thread Eric Blake
^ for pipes any more - POSIX does not allow ^ to mean pipes. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG

Re: Spaces in args, escapes, and command substitution

2006-10-29 Thread Eric Blake
, but not for the command substitution. Break your result into two commands: IFS='\n' vi $(grep -l PATTERN *) - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake

Re: Spaces in args, escapes, and command substitution

2006-10-29 Thread Eric Blake
is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [bash-testers] Re: readline-5.2-1 prompt issue on cygwin

2006-11-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 11/9/2006 10:10 PM: Indeed, this alternative patch also seems to fix the test case for me: --- bash-3.2-orig/lib/readline/display.c 2006-09-14 12:20:12.0 -0600 +++ bash-3.2/lib/readline/display.c 2006

Re: sh, pwd -P and $PWD

2006-11-13 Thread Eric Blake
expected in 2008) may relax this so that 'pwd -P' is once again non-state-changing. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment

botched configure check for /dev/stdin

2006-11-15 Thread Eric Blake
/dev/stdin /dev/null; then + elif test -d /proc/self/fd /bin/test -r /dev/stdin /dev/null; then bash_cv_dev_stdin=present else bash_cv_dev_stdin=absent - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG

Re: bash hash bug

2006-11-24 Thread Eric Blake
effectiveness, will be more meaningful. Any chance this can be made an official patch for 3.2, or do I have to wait until 4.0 to get this performance increase? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5

Re: mkfifo and tee within a function

2006-12-06 Thread Eric Blake
to do the /dev/null redirection. The initial /dev/null redirection MUST occur in non-interactive shells, even if job control is active. However, for interactive shells, it is still acceptable to use the presence of job control as a hook for deciding whether to perform the redirection. -- Eric

Re: GNU bash, 3.00.15(1)-release, referenced cmd in cwd executes alternate cmd

2007-01-05 Thread Eric Blake
. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFnz

Re: Quotes problem ?

2007-01-10 Thread Eric Blake
for fun as well! Eric Blake [EMAIL PROTECTED] volunteer bash port maintainer for cygwin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: Function/alias recursion

2007-01-16 Thread Eric Blake
work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: Did I find a Bug in /bin/ls or in bash?

2007-02-06 Thread Eric Blake
choice of collating sequences. Try exporting LC_ALL=C to see the difference. coreutils-6.4-10 bash-3.1-55 Consider upgrading. coreutils is at 6.7, and bash at 3.2. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Re: I can`t complete ./configure command

2007-03-08 Thread Eric Blake
configure run to completion? If not, what is your real problem? - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment

Re: source(builtin) and read(2)

2007-03-23 Thread Eric Blake
in ssize_t. Again, if your ssize_t is smaller than 32 bits, your platform has other issues. Just because POSIX allows ssize_t to be as small as 16 bits doesn't mean many modern platforms do that. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN

Re: source(builtin) and read(2)

2007-03-23 Thread Eric Blake
for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: how does bash parse back-ticks, anyway?

2007-04-02 Thread Eric Blake
to $() parsing. And as the autoconf manual documents, there is no portable way to include a double-quoted string inside a `` sequence. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin

Re: inconsistent output for cd

2007-04-04 Thread Eric Blake
as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGE6CP84KuGfSFAYARAmgUAJ4lpL/1UqDmnuRuNXGopmhRaesf4gCgvl9g

Re: bash for loop errorr

2007-05-23 Thread Eric Blake
, and has several new features and bug fixes above what 2.03 or even 3.0 had. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg

Re: bug in printf bash command

2007-07-21 Thread Eric Blake
this to the bug-bash list. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: deleting coma in a large number of files

2007-07-21 Thread Eric Blake
some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: variables

2007-07-30 Thread Eric Blake
, in its own shell environment. If you want toto.conf.sh to affect the current environment, you need to source it - look at the documentation for '.' (also known as 'source'). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Re: automate input

2007-08-09 Thread Eric Blake
the enter key is not $'\r', but $'\n' (or more simply, a blank line inside your heredoc). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake

Re: Readline-5.2 Official Patch 7

2007-08-24 Thread Eric Blake
been present on the ftp sites since the 22nd. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla

Re: Problems with redirection of output to files through shell scripts

2007-09-11 Thread Eric Blake
ignore all carriage returns on input, when enabled. Is there any interest in having that option on all platforms, rather than just Cygwin? If so, I will try to clean up the patch and post it here. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED

Re: using NUL in scripts

2007-09-26 Thread Eric Blake
will be exactly binary-file if all NUL bytes are stripped out POSIX is silent on the matter. zsh preserves NUL in command substitution, bash strips them out. Perhaps it is worth raising the issue with the Austin group for clarification. - -- Don't work too hard, make some time for fun as well! Eric Blake

Re: how could I execute a set of script in a directoy tree?

2007-11-17 Thread Eric Blake
-execdir requires a literal ; to end the sequence. You could also have quoted it as '\' or \\, but that is more typing. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key

Re: echo(1) non-conformant (processing -e and -E)

2007-11-26 Thread Eric Blake
). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: nonconformant behavior for printf(1) (you cannot interpret - as an option char)

2007-11-26 Thread Eric Blake
is not an option, so it is the first word after the end-of-options designator, or ---%s---\\n. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net

Re: nonconformant behavior for printf(1) (you cannot interpret - as an option char)

2007-11-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 11/26/2007 10:09 PM: Again, go read POSIX and if you're still unclear file a RFI. But it's very clear and bash is incorrect in this respect. I'm on the Austin group, and feel quite confident that I understand what

Re: Tilde expandion for values of long options

2007-12-08 Thread Eric Blake
represents a single path name, so it should not be further expanded. However, bash 3.2 does not obey this rule (it avoids field splitting, but mistakenly performs pathname expansion if $HOME contains glob characters). - -- Don't work too hard, make some time for fun as well! Eric Blake

Re: bash-shipped getcwd() replacement does not work on interix.

2007-12-20 Thread Eric Blake
it handles the problem: http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/getcwd.c - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake

Re: bash incompatible with sh,maybe this is a bug

2007-12-25 Thread Eric Blake
, so your shell need not support it to begin with. -- Eric Blake

Re: stdio buffer flushing on redirection

2008-01-06 Thread Eric Blake
, with mode chosen correctly based on whether the underlying stream is in append mode, but that is equally unportable to other platforms. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin

Re: Is there a Windows native port of Bash or Bourne Shell(no cygwin)?

2008-01-28 Thread Eric Blake
on vista yet, then they would probably welcome your help. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using

Re: testsuite -C dir

2008-01-29 Thread Eric Blake
~ for the filename argument if it is not found by searching `PATH'. It looks like we've discovered a bash bug. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key

Re: problems substituting 'jobs' in a bash script

2008-02-21 Thread Eric Blake
this link, especially under Application Usage http://www.opengroup.org/onlinepubs/009695399/utilities/jobs.html - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key

Re: error in expression evaluation

2008-02-22 Thread Eric Blake
invocations of test. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: SEGV on unbounded recursion

2008-03-06 Thread Eric Blake
overflow detection result in nicer output than a crash. http://www.gnu.org/software/libsigsegv/ - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net

Re: style of assignment to variable changes command selection

2008-03-07 Thread Eric Blake
hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Fwd: Problem with bash completion

2008-03-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This was originally reported on the cygwin lists; it is still present in stock bash 3.2.33. - - From: David Rothenberger Subject: Problem with bash completion Sometimes bash gets confused and starts adding a slash at the end of files when I do

Re: cp and mv commands (copying/moving only if file does not exist, regardless of the time stamps, for use in a automatic script)

2008-03-27 Thread Eric Blake
hairy). ~ At any rate, I suggest looking into rsync, which can do exactly what you want and more. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Cygwin) Comment: Public key at home.comcast.net

Re: shorthand attempt at 'basename file .ext'

2008-03-28 Thread Eric Blake
'-a', not '--'. Also, on platforms where // is special (such as cygwin), 'basename //' and 'basename // /' should print '//', not '/', to match the behavior of the basename program on those platforms. -- Eric Blake

Re: shorthand attempt at 'basename file .ext'

2008-03-29 Thread Eric Blake
, and the result is //. Either way, basename // / doesn't do any suffix stripping (for that matter, NO suffix that contains / will ever participate in suffix stripping). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version

Re: problems with output redirection

2008-04-03 Thread Eric Blake
, to guarantee that the whitespace is preserved. A GnuPG-aware client is supposed to strip the ~. ~ However, in my opinion, not one of the smartest actions of Enigmail. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version

Re: Bash unexpected directory prompting

2008-04-12 Thread Eric Blake
is used to | execute scripts and it is not in an interactive mode. What is CDPATH set to? - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake

Re: Bash unexpected directory prompting

2008-04-12 Thread Eric Blake
! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgA694ACgkQ84KuGfSFAYCsvwCfQDfGznAc92tuDoZa+SKBOsmP

Re: Bash messes up spaces in command line agruments.

2008-05-06 Thread Eric Blake
$index |$(eval echo \\${$index}\)| Or more efficiently: ~ eval 'echo $index |$'$index'|' - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net

Re: builtin printf not printing unicode characters?

2008-05-12 Thread Eric Blake
/html/bug-coreutils/2008-05/msg00067.html - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla

Re: A wonderful idea about shell!

2008-05-17 Thread Eric Blake
single recent command with the 'up' and 'down' arrows. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG

Re: Bash enhancement request

2008-05-19 Thread Eric Blake
work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: Operator || disables set -e in subshells: Bug or feature?

2008-05-19 Thread Eric Blake
clarification, I would ask on the Austin Group mailing list if this ambiguity was intended. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net

heredoc in command subst bug?

2008-05-29 Thread Eric Blake
correctly and fails with a syntax error. -- Eric Blake

  1   2   3   4   5   6   >