bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax Question...


From: Linda Walsh
Subject: Re: Syntax Question...
Date: Sun, 14 Aug 2011 12:39:22 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666




` Pierre Gaston wrote:
On Sun, Aug 14, 2011 at 7:51 AM, Linda Walsh <bash@tlinx.org> wrote:
Dennis Williamson wrote:
On Sat, Aug 13, 2011 at 6:41 PM, Linda Walsh <bash@tlinx.org> wrote:
I have to use 'indirect' syntax: � � ${!name}
But that doesn't seem to play well with array syntax:
${#${!name}[*]} � �# �bash: ${#${!name}[*]}: bad substitution

What syntax would I use for this?
Please read BashFAQ/006: http://mywiki.wooledge.org/BashFAQ/006
I looked at the page....read every section that was >basic & some basic...

nothing about using indirect variables with arrays... (let alone assigning
to them)..
lies
----
   Is this an anime?    'Lies!  All lies!..'  Such lines are
usually said by the bad buy and are made clearly evident to others
that such is said, not because it is true, but because the person
is in denial of the truth or wishes to convince others that it is
not true.

   But, usually (depends on how dark the anime is (or, how much, it
is like real life ;~/  ) ) the truth comes out.

   But in any event, should I be gullible and ask for proof, or should I
simply take it as humor?  If the former, please show quote the section
that shows using an variable that holds the name of an array to be used
(and assigned to)....  else, ... I love the French...though I admit to
an often low grasp of French colloquialisms and generally (in English)
less than 100% detection of subtle humor -- that percentage falls as
language and cultural differences rise.

   But (I'm so damn unfun/lame sometimes), if you don't respond, I'll
assume you believed it not worth it as was supposed to be humorous, and
having to explain such, crimps the humorist's style...  (I do have a sense
of humor -- just not always the same as some other's..).
Linda









reply via email to

[Prev in Thread] Current Thread [Next in Thread]