help-bash
[Top][All Lists]
Advanced

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

Re: feature todo .. be able to unset vars at assignment stage , without


From: alex xmb sw ratchev
Subject: Re: feature todo .. be able to unset vars at assignment stage , without unset util , for coding language fair extendment
Date: Wed, 21 Feb 2024 20:54:30 +0100

On Wed, Feb 21, 2024, 16:48 Andreas Kähäri <andreas.kahari@abc.se> wrote:

> On Wed, Feb 21, 2024 at 01:13:23PM +0100, alex xmb sw ratchev wrote:
> > sorry addition ..
> > it has to work inside PE , for conditional use
> >
> > On Wed, Feb 21, 2024, 11:17 alex xmb sw ratchev <fxmbsw7@gmail.com>
> wrote:
> >
> > > .. exactly as topic
> > >
> > > geeets , xmb
> > >
>
> What is "PE"?
>

PE for variables parameter expansion
${var<cmd>[something}

I find it a bit difficult to understand what you are asking for.  Could
> you please provide a more detailed example of what you are trying to do,
> and what the potential benefits of the feature would be?
>

many codes can be done via variable assignment , chained well speedy

case like .. im sorry im stuck struggling hours on code or english , casing

say i wanna do major here and there with assigments only

sorry again i atm cant properly form a case , besides functional
assignments only

Are you proposing a feature similar to what's available in e.g. Perl,
> where you could use undef to "unset" a variable:
>
>         $variable = undef;
>

in bash has three var states
unset , eg never ever set
empty , set , but just empty
filled , non empty set

to unset vars , `unset -v`

-- 
> Andreas (Kusalananda) Kähäri
> Uppsala, Sweden
>
> .
>

thanks and sorry
alexx

>


reply via email to

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