bug-bash
[Top][All Lists]
Advanced

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

Re: missing way to extract data out of data


From: Dale R. Worley
Subject: Re: missing way to extract data out of data
Date: Mon, 22 Mar 2021 22:58:42 -0400

Greg Wooledge <greg@wooledge.org> writes:
> Partly true.  seq(1) is a Linux thing, and was never part of any
> tradition, until Linux people started doing it.

Huh.  I started with Ultrix, and then SunOS, but don't remember learning
seq at a later date.

> (Before POSIX, it involved using expr(1) for every increment, which
> is simply abominable.)

And let's not forget the original "glob"!

But my point is that using external programs to do minor processing
tasks has a long history in shells.

> but beyond a certain
> point, trying to force a shell to act like a Real Programming Language
> is just not reasonable.

I've never tracked down why, but the Perl executable is a lot smaller
than the Bash executable.  So it's likely that turning a shell into a
Real Programming Language is also likely to be unusually expensive.

Dale



reply via email to

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