help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Difference between "argument" and "parameter"?


From: Pierre Gaston
Subject: Re: [Help-bash] Difference between "argument" and "parameter"?
Date: Wed, 19 Feb 2014 09:16:19 +0200

On Wed, Feb 19, 2014 at 5:04 AM, Peng Yu <address@hidden> wrote:

> Hi,
>
> I see both "argument" and "parameter" are used. It seems to me that
> they are synonymous. Are there any subtle differences?
>
> --
> Regards,
> Peng
>
> From the  bash  manual: "A parameter is an entity that stores values."

If this "entity" as a name it can also be called "a variable"

Another kind of parameter are the "positional parameters" ($1 $2 ....)
these are often the arguments passed to your scripts or functions.


reply via email to

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