bug-bash
[Top][All Lists]
Advanced

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

Re: comments inside command subst are handled inconsistently


From: G. Branden Robinson
Subject: Re: comments inside command subst are handled inconsistently
Date: Mon, 31 Jul 2023 10:56:29 -0500

At 2023-07-31T16:08:31+0200, Denys Vlasenko wrote:
> There is no reason to innovate in tools such as sed, awk, or sh.

These are terrible examples to use; look at the history of all three.

> They have fossilized.

No, they've been _standardized_.  POSIX acknowledges that the common set
of expected functionality evolves; often to add features (see the
much-needed additions to standard make(1) in POSIX Issue 8, currently in
draft), but also to shrink in some necessary ways.  I think the Austin
Group (the POSIX team) deprecated gets() before WG14 (the C standard
committee) did.

> For example, you can add floating-point math to sh. This would be
> innovation.  This would also break many thousands of existing scripts,
> while being nowhere near enough for most serious uses of floating
> point calculations, both in speed and features.  Not a good idea.

It was done in ksh93.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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