bug-bash
[Top][All Lists]
Advanced

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

Re: local/typeset/declare -p - outputs invalid declare -- -


From: Alex fxmbsw7 Ratchev
Subject: Re: local/typeset/declare -p - outputs invalid declare -- -
Date: Mon, 31 Oct 2022 18:54:25 +0100

On Mon, Oct 31, 2022, 18:31 Greg Wooledge <greg@wooledge.org> wrote:

> On Mon, Oct 31, 2022 at 06:12:14PM +0100, Alex fxmbsw7 Ratchev wrote:
> > hi , sorry.. whats the purpose of local -
> > informational question
>
> a. Since there is no `declare -' equivalent of `local -', make sure to use
>    `local -' in the output of `local -p'.
>
> -----
>
> s.  The `local' builtin takes a new argument: `-', which will cause it to
> save
>     the single-letter shell options and restore their previous values at
>     function return.
>
> From two different parts of CHANGES.
>

cool mate , perfect answer
im sorry that i cant digg thru so much text
but hey chat worked , =)
hm it only saves the like -mBH or similiar ?
hm
dont get it much

>
>


reply via email to

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