Computer Old Farts Forum
 help / color / mirror / Atom feed
From: Grant Taylor via COFF <coff@minnie.tuhs.org>
To: coff@minnie.tuhs.org
Subject: Re: [COFF] Powershell better than Bourne shell?
Date: Thu, 18 Nov 2021 18:12:12 -0700	[thread overview]
Message-ID: <39215532-47b8-92ba-ce82-d1307ce5be03@spamtrap.tnetconsulting.net> (raw)
In-Reply-To: <20211118230310.GB94373@eureka.lemis.com>


[-- Attachment #1.1: Type: text/plain, Size: 1272 bytes --]

On 11/18/21 4:03 PM, Greg 'groggy' Lehey wrote:
> I recently had a discussion with some colleagues on the topic of 
> shells.  Two people whom I respect both told me that Microsoft's 
> Powershell runs rings round the Bourne shell.

I've heard praise of PowerShell from people who are skilled in the 
typical Unix shell.  But I've never heard anything on the order of 
running rings around Bourne shell.

> Somehow that sounds like anathema to me, but it's not beyond the bounds 
> of possibility.  Before I waste time investigating, can anybody here 
> give me some insights?

I would say that PowerShell was designed two or more decades /after/ 
Bourne shell and that a lot was learned in computer since in the 
intervening time.

I've been told that PowerShell and / or the commands run therefrom 
actually pass structural data that is easy to query /if/ you know how to 
do so.  It's this structure vs free form textual output that is common 
in Unix shells that make the biggest difference.  Think XML markup vs an 
unstructured text file.  (Though you don't actually see the structure 
scaffolding.)

At least that's my understanding from people competent in traditional 
Unix shells and PowerShell.



-- 
Grant. . . .
unix || die


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4017 bytes --]

[-- Attachment #2: Type: text/plain, Size: 141 bytes --]

_______________________________________________
COFF mailing list
COFF@minnie.tuhs.org
https://minnie.tuhs.org/cgi-bin/mailman/listinfo/coff

  reply	other threads:[~2021-11-19  1:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 23:03 Greg 'groggy' Lehey
2021-11-19  1:12 ` Grant Taylor via COFF [this message]
2021-11-19 23:00   ` Theodore Y. Ts'o
2021-11-20 15:54     ` Michael Kjörling
2021-11-19  5:15 ` Adam Thornton
2021-11-19  6:19   ` Andrew Warkentin
2021-11-19 18:44     ` Steffen Nurpmeso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39215532-47b8-92ba-ce82-d1307ce5be03@spamtrap.tnetconsulting.net \
    --to=coff@minnie.tuhs.org \
    --cc=gtaylor@tnetconsulting.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).