Re: Red-Hat Bug 825751 - bash-completion fails on environment variables

2012-05-29 Thread Chet Ramey
On 5/28/12 11:32 AM, John E. Malmberg wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=825751 > > bash-4.2.24-1.fc16.i686 Please take a look at http://git.savannah.gnu.org/cgit/bash.git/log/?h=direxpand and see if that behaves the way you like. Chet -- ``The lyf so short, the craft so long

Re: Red-Hat Bug 825751 - bash-completion fails on environment variables

2012-05-29 Thread John E. Malmberg
On 5/29/2012 7:12 AM, Chet Ramey wrote: On 5/28/12 11:32 AM, John E. Malmberg wrote: https://bugzilla.redhat.com/show_bug.cgi?id=825751 bash-4.2.24-1.fc16.i686 Please take a look at http://git.savannah.gnu.org/cgit/bash.git/log/?h=direxpand and see if that behaves the way you like. Thanks,

Helpful app for your dream wedding planning

2012-05-29 Thread kevin
The wedding planning can be done easily using like wedding planner, wedding app etc. It depends upon the wedding planning people to choose the path, according to their convenient, Budget allocations and their requirement. The best option to plan the wedding is doing by wedding couple itself. They c

Re: quoted and concatenated positional parameters

2012-05-29 Thread Chet Ramey
On 5/23/12 10:47 PM, gregrwm wrote: > Machine Type: x86_64-redhat-linux-gnu > > Bash Version: 4.1 > Patch Level: 2 > Release Status: release > > Description: > expansion anomaly with quoted and concatenated positional parameters This wasn't actually that hard to fix. The attached patch

Compare 2 arrays.

2012-05-29 Thread Akasei Yoshiko
I have something like that: > #!/bin/bash > # [PL] Porownuje dwie tablice, zwraca prawde/falsz. > > A=( "$1" ) > B=( "$2" ) > EQUAL=0 > > if [ ${#A[@]} -eq ${#B[@]} ]; then > for id in `seq 0 2 $[ ${#A[@]} - 2 ]`; do > if [ "${A[ $id ]}" == "${B[ $id ]}" ]; then >

Re: Red-Hat Bug 825751 - bash-completion fails on environment variables

2012-05-29 Thread Chet Ramey
On 5/29/12 8:34 AM, John E. Malmberg wrote: > In the discussion that you referenced earlier, it mentions that it was > considered making this behavior controlled by a settable parameter. > > Is that implemented with this patch? > > Is this eventually going to be part of an official patch? Yes a

Re: Compare 2 arrays.

2012-05-29 Thread Quinn Fissler
See any problem here? #!/bin/bash # [PL] Porownuje dwie tablice, zwraca prawde/falsz. set -x A=( "$1" ) B=( "$2" ) EQUAL=0 if [ ${#A[@]} -eq ${#B[@]} ]; then for id in `seq 0 2 $[ ${#A[@]} - 2 ]`; do if [ "${A[ $id ]}" == "${B[ $id ]}" ]; then EQUAL=1 else EQUAL=0 break fi done fi echo $

Re: Compare 2 arrays.

2012-05-29 Thread Bill Gradwohl
I have no idea what the wget's are supposed to be doing, but here's a function that will compare 2 foreign arrays and return true 0 or false 1. compareForeignArrays(){ ## $1 and $2 are the names of the arrays to compare. ## These are characters strings. local intermediary local sub