Re:Why does OpenBSD still include Perl in its base installat...
by lmm on Saturday May 30, 2020 @10:54AM
(#23361602)
TCL ships with tclsh which is regular TCL (so a first-class programming language) but allows you to invoke external commands as though they were functions (so arguably is a shell in your sense, though I wouldn't advise using it as your login shell).
Re:Why does OpenBSD still include Perl in its base installat...
by jasonhansel on Saturday May 30, 2020 @10:31AM
(#23361438)
Agreed. I really want a language that makes it easy to run subprocesses and do other Unix/shell magic, while being more straightforward and modern than Perl.
I think a good way of doing this would be to make a shell that has more expressive power and a clearer syntax.
Re:Why does OpenBSD still include Perl in its base installat...
by jhgb on Saturday May 30, 2020 @01:34PM
(#23362937)
> Is there any non-shell scripting language that makes it as easy as shell to run external commands, redirect I/O etc.?
Would Scsh count?
Re:Why does OpenBSD still include Perl in its base installat...
by Tyr42 on Saturday May 30, 2020 @10:49AM
(#23361576)
Ruby uses the same sorta commands as perl does I think.
Is there any non-shell scripting language that makes it as easy as shell to run external commands, redirect I/O etc.? I don't know of any. (Perhaps that is the very definition of a shell.)