[Top][All Lists]

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

Irregularities when using -v, -z, -n

From: eduardo-chibas
Subject: Irregularities when using -v, -z, -n
Date: Thu, 29 Jul 2021 16:49:29 +0200

> Sent: Friday, July 30, 2021 at 2:30 AM
> From: "Leonid Isaev (ifax)" <>
> To:
> Subject: Re: Irregularities when using -v, -z, -n
> On Thu, Jul 29, 2021 at 09:42:51AM -0400, Greg Wooledge wrote:
> > Inflating the bash(1) man page even further with thousands of examples
> > is not likely to be accepted.
> Fair point.
> I had online documentation at in mind, actually. But yes, I see how
> this can be a problem if it is generated from the same source as the manpage.
> > Unraveling things a bit, most of the OP's troubles would go away if
> > they would simply initialize their variables with default values up
> > front, instead of trying to determine retroactively whether they
> > already assigned a value to the variable during option processing.
> Agreed. The only check to be made in practice, is whether a (already defined)
> variable contains a zero-length string or not...

My problem mostly emanate from dynamic scoping.

> --
> Leonid Isaev

reply via email to

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