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
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 $
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
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
>
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
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
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,
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