[Top][All Lists]

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

Re: [Help-bash] Is there a syntax to declare -p address@hidden

From: Tadeus Prastowo
Subject: Re: [Help-bash] Is there a syntax to declare -p address@hidden
Date: Wed, 5 Dec 2018 15:40:15 +0100

On Wed, Dec 5, 2018 at 12:31 AM Peng Yu <address@hidden> wrote:


> $ ./
> set -- 1 '2     3'
> echo ${@@A}
> set -- '1' '2 3'
> echo "${@@A}"
> set -- '1' '2     3'
> Where is it documented?,
particularly as quoted below:

   The expansion is either a transformation of the value of parameter
or information about parameter itself, depending on the value of
operator. Each operator is a single letter:
      The expansion is a string in the form of an assignment statement
or declare command that, if evaluated, will recreate parameter with
its attributes and value.
   If parameter is address@hidden or ‘*’, the operation is applied to each
positional parameter in turn, and the expansion is the resultant list.
   The result of the expansion is subject to word splitting and
pathname expansion as described below.


Best regards,

reply via email to

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