[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: FWD: Org-Babel Support for Powershell
From: |
Gustav Wikström |
Subject: |
RE: FWD: Org-Babel Support for Powershell |
Date: |
Sat, 6 Jun 2020 23:38:38 +0000 |
Hi,
Org babel support for Powershell is a great idea!
Powershell is very ...*ahem*... powerful, and it would likely benefit many
users if it was usable and executable from within Org mode!
> -----Original Message-----
> From: Emacs-orgmode <emacs-orgmode-bounces+gustav=whil.se@gnu.org> On Behalf
> Of Russell Adams
> Sent: den 6 juni 2020 12:43
> To: emacs-orgmode@gnu.org
> Subject: Re: FWD: Org-Babel Support for Powershell
>
> On Fri, Jun 05, 2020 at 11:32:45PM +0200, stanislaw_lem--- via General
> discussions about Org-mode. wrote:
> > With Powershell 7 we got now a cross-platform scripting language for Windows
> > and Linux OS.
>
> Can you provide an example script you would run, and the example output?
> Basically a minimum working example, except the part where Babel would run it
> for you?
I know the question wasn't for me. But since I'm answering to your mail I can
just as well provide an example anyhow:
#+begin_src powershell
2+2
#+end_src
#+RESULTS:
: 4
> I think Org-Babel working with many languages is a noble goal, but I expect
> there would be difficulty getting Powershell support added to the core
> distribution. It might be limited to a separate package as it is very specific
> to a Windows only non-free language from a vendor with a long and sordid
> history
> of anti-OSS practices.
There should be zero issues in including it into core. Powershell is
MIT-licensed and works across all platforms.
> My opinion is I would never consider using Powershell on Linux, despite your
> positive impression.
And I say the opposite. I would certainly use it!
/of topic
It's safe to say the free software movement has gained a strong footing in the
software world. If it's "enemies" from the past are starting to walk in the
same direction it would serve the free software advocates well to embrace and
further encourage those steps. It would in my opinion be signs of maturity and
true, good intentions. Judge not from where one comes, but for where one is
heading.
Kind regards
Gustav