>
> What makes you think so? Variables are always visible in invoked
> functions, unless you shadow them using local/declare/typeset.
>
Thank you very much for this information, I didn't know invoked functions
inherited their parent functions variables.
I understand better now the use of declare -
Chet Ramey writes:
> On 6/29/23 11:16 PM, Eli Schwartz wrote:
>
>> I assume that, given the option exists in the configure script, there
>> are people who will want to use the option made available to them. One
>> reason might be because they are configuring it for a system that isn't
>> fussed
On Sun, Jul 02, 2023 at 03:04:25PM +0200, Top Dawn wrote:
> >
> > What makes you think so? Variables are always visible in invoked
> > functions, unless you shadow them using local/declare/typeset.
> >
>
> Thank you very much for this information, I didn't know invoked functions
> inherited their
On 2023-06-30 at 15:49 +0200, Sebastian Luhnburg wrote:
> First, in my LPIC-1 course the lecturer tell me it is better (not
> binding) to deny SSH login for root users (especially for the user with
> the name root). The reason is simple: decrease the attack surface. Yes,
> a secure password need
man page says:
A variable may be assigned to by a statement of the form
name=[value]
If value is not given, the variable is assigned the null string. All
values undergo tilde expansion, parameter and variable
expansion...
OK, but do please mention s
On Sun, Jul 2, 2023, at 8:30 PM, Dan Jacobson wrote:
> man page says:
>
>A variable may be assigned to by a statement of the form
>
> name=[value]
>
>If value is not given, the variable is assigned the null string. All
>values undergo tilde expansion, param
On Sun, Jul 02, 2023 at 08:56:08PM -0400, Lawrence Velázquez wrote:
> On Sun, Jul 2, 2023, at 8:30 PM, Dan Jacobson wrote:
> > OK, but do please mention somewhere that "if the variable is set more
> > than once within the same statement, the final value is used."
> >
> > $ m=1 m=2; echo $m
> > #(Y
> "LV" == Lawrence Velázquez writes:
LV> This is stated under "Simple Command Expansion".
OK good. No more issue.