Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <uvbe3m$2cun7$1@dont-email.me>
Deutsch   English   Français   Italiano  
<uvbe3m$2cun7$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Fri, 12 Apr 2024 15:48:37 +0200
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <uvbe3m$2cun7$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
 <0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
 <20240408075547.000061e8@gmail.com>
 <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 12 Apr 2024 15:48:39 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3e64961bc4a57bf84ee9ec3ae5d82c42";
	logging-data="2521831"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19jT8nujil0p5Kwn4QfM/0J"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:jTjEnK0SMTn9eA1BJZco8L8hIt0=
In-Reply-To: <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
X-Enigmail-Draft-Status: N1110
Bytes: 3403

On 08.04.2024 19:54, Javier wrote:
> 
> I don't worry about that anymore.  My bash scripts run blazing fast
> in my laptop with an SSD. 

If speed would be an issue you could also switch to faster POSIX
shells than Bash, like Ksh.

But speed very much depend on the tasks you actually do with them.
Sometimes Shells are "misused".

> I guess it was an issue at the time Perl
> appeared (1987), although TBH I didn't experience it myself, since at
> that time I wasn't a Unix user.
> 
> Also, I suspect HD caching and the increase in HD speed was one of the
> reasons for the fall in popularity of Perl for writing small system
> automation tasks that could be done with just shell.  But there were
> another reasons, like the disapearance of diversity in the Unix OS ecosystem.
> Perl made easy to write portable scripts that could run on propietary Unixen
> that came with slight incompatibilities in the command line tools
> (IRIX/Solaris/HP-UX/AIX, etc.)

Some notes...
You have the portability only if you use the same version on all
target systems.
To write scripts portably you use standards; like POSIX (including
the POSIX shells).
I suppose there's no Perl standard yet?
You may not have Perl in professional environments available (for
security considerations, maintenance decisions, policies).

> 
> Perhaps somebody here who uses (or used to use) Perl for system
> automation tasks can tell us more about their personal reasons
> for prefering (or used to prefer) Perl over shell.

I've programmed in Perl but I'm no Perl-programmer notwithstanding.
Some more or less obvious reasons I see...
Abstraction of diverse Unix utilities' interfaces.
Supporting data structures (beyond primitive arrays).
Expressiveness.
Extensive libraries and supporting solutions available.
One tool instead of a tool chest. (A simplified view, granted.)
Less quirks than Shell. (I'm saying that as a decades long and
experienced Shell programmer.)
I'm reluctant to speak about Shell's crude syntax as one reason,
since I also dislike Perl's.

Janis