help-bash
[Top][All Lists]
Advanced

[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: Chet Ramey
Subject: Re: [Help-bash] Is there a syntax to declare -p address@hidden
Date: Fri, 7 Dec 2018 09:23:23 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.2

On 12/6/18 11:12 PM, Peng Yu wrote:

> How to understand why `echo address@hidden only print an empty line?

Consider that

1. `$' is a special parameter, not a variable; as such

2. It's not a valid argument to `set', `declare', or an assignment
   statement; because

3. It's not user-assignable at all, so there's no way to "recreate the
   current value."

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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