WWW: tar.file incolplete in http://www.gnu.org/software/bash/manual/

2009-08-28 Thread Jeanne Rasata
Subject:WWW: tar.file incolplete in http://www.gnu.org/software/bash/manual/ Date: Sat, 15 Aug 2009 01:58:27 +0300 To: g...@gnu.org From: Jari Aalto Download (untitled) text/plain 1.8k At page > http://www.gnu.org/software/bash/manual There is bashref.info.tar.gz which is not in

Re: Dynamic variables and set builtin

2009-08-28 Thread Chet Ramey
Roman Rakus wrote: > So, what we do with this? I'm for rereading variables in set builtin. I'm not inclined to do anything. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRUc...@case.eduhtt

Dynamic variables and set builtin

2009-08-28 Thread Roman Rakus
I'm not sure if this is a bug or not, but set builtin prints dynamic variables in their last state, but not actual. For example: [rra...@dhcp-lab-170 bash-4.0]$ set | grep BASH_CMDS BASH_CMDS=() [rra...@dhcp-lab-170 bash-4.0]$ hash hitscommand 4/bin/grep 1/bin/egrep 1/usr

Re: mysqldump usage in bash

2009-08-28 Thread Greg Wooledge
On Fri, Aug 28, 2009 at 07:06:52AM -0700, Arenstar wrote: > What effects can eval have? that i am unaware of. In fact ive never used > eval before, it just wasnt neccessary.. > Thank you for your interesting reply > > query="mysqldump -h $DBSource -u rx -p $DB $TABLE --where '$Field > > $

Re: mysqldump usage in bash

2009-08-28 Thread Arenstar
Hello Greg, So im currently using eval, based on the fact that exec/bash does not see the > in the --where clause. (not the redirection) It is currently working, though im open ears to you explaining how this could be a problem. What effects can eval have? that i am unaware of. In fact ive never

Re: mysqldump usage in bash

2009-08-28 Thread Greg Wooledge
On Thu, Aug 27, 2009 at 06:13:38AM -0700, Arenstar wrote: > temp="mysqldump -h $DBSource -u $USER -p$PASS $DB $TABLE --where='$Field > > $VarStart AND $Field < $VarEnd' > $TABLE$DumpName" > exec $temp The obvious problem here is that you want the last ">" to be treated as a redirection op

Re: Bug for brace expansion {01..09..2}

2009-08-28 Thread Roman Rakus
On 08/28/2009 07:43 AM, Clark J. Wang wrote: Bash version: 4.0.28 Steps to reproduce: $ echo {01..10..2} 01 03 05 07 09 $ echo {01..09..2} 1 3 5 7 9<--- ??? $ echo {10..01} 10 09 08 07 06 05 04 03 02 01 $ echo {10..01..2} 00010 8 6 4 2<--- ??? $ Already

Re: mysqldump usage in bash

2009-08-28 Thread Ralf Goertz
Arenstar wrote: > > Hello everyone.. > > Im running into quite a large problem in my bash script, I cannot use > mysqldump in bash as i require. > > The following code is in my script, and if i run it direct in command > line or by PHP, it works :-O > Unfortunately not in my bash script:( > >