Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 31.01.2024 17:18, Michael S wrote:
On Wed, 31 Jan 2024 17:05:23 +0100
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
(See for example 'man ksh' Section "Input/Output". But careful; ksh
has additional non-standard additions. So a peek into the POSIX docs
might serve you better.)
FWIW, the POSIX shell language was based on a subset of ksh88.
On 31.01.2024 18:20, Scott Lurndal wrote:
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93). >Meanwhile, I think, you should get a ksh93 on Linux per default.
But I suggest to use the ksh93u+m (the version maintained by Martijn
Dekker), instead; it has a lot errors fixed.
In article <upe60i$1latn$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
[snip]
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93). >Meanwhile, I think, you should get a ksh93 on Linux per default.
[snip]
I'm not sure I understand this. Linux is just the kernel; to
get a useful operating system, you need a number of other
components such as utilities, system libraries, a load, and
other tools. A number of such distributions are based on GNU
tools; at least one is based on BSD tools. So writing, "On
Linux you got only a ksh clone..." doesn't make much sense to me
and seems like a category error.
Certainly, one can install `ksh93` in a Linux distribution.
- Dan C.
[snip]
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93). >Meanwhile, I think, you should get a ksh93 on Linux per default.
[snip]
Michael S <already5chosen@yahoo.com> writes:
On Wed, 31 Jan 2024 20:16:12 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wrote:
In article <upe60i$1latn$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
[snip]
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T
ksh93). Meanwhile, I think, you should get a ksh93 on Linux per
default. [snip]
I'm not sure I understand this. Linux is just the kernel; to
get a useful operating system, you need a number of other
components such as utilities, system libraries, a load, and
other tools. A number of such distributions are based on GNU
tools; at least one is based on BSD tools. So writing, "On
Linux you got only a ksh clone..." doesn't make much sense to me
and seems like a category error.
Certainly, one can install `ksh93` in a Linux distribution.
- Dan C.
Come on, in informal everyday's language the word Linux is very often
used as a shortcut for Gnu/Linux.
Other than providing a compiler and C library, GNU has nothing to
do with linux. There are other compilers, and other C libraries.
On Wed, 31 Jan 2024 20:16:12 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wrote:
In article <upe60i$1latn$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
[snip]
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93).
Meanwhile, I think, you should get a ksh93 on Linux per default.
[snip]
I'm not sure I understand this. Linux is just the kernel; to
get a useful operating system, you need a number of other
components such as utilities, system libraries, a load, and
other tools. A number of such distributions are based on GNU
tools; at least one is based on BSD tools. So writing, "On
Linux you got only a ksh clone..." doesn't make much sense to me
and seems like a category error.
Certainly, one can install `ksh93` in a Linux distribution.
- Dan C.
Come on, in informal everyday's language the word Linux is very often
used as a shortcut for Gnu/Linux.
On Wed, 31 Jan 2024 20:50:55 GMT
scott@slp53.sl.home (Scott Lurndal) wrote:
Michael S <already5chosen@yahoo.com> writes:
On Wed, 31 Jan 2024 20:16:12 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wrote:
In article <upe60i$1latn$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
[snip]
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T
ksh93). Meanwhile, I think, you should get a ksh93 on Linux per
default. [snip]
I'm not sure I understand this. Linux is just the kernel; to
get a useful operating system, you need a number of other
components such as utilities, system libraries, a load, and
other tools. A number of such distributions are based on GNU
tools; at least one is based on BSD tools. So writing, "On
Linux you got only a ksh clone..." doesn't make much sense to me
and seems like a category error.
Certainly, one can install `ksh93` in a Linux distribution.
Come on, in informal everyday's language the word Linux is very often
used as a shortcut for Gnu/Linux.
Other than providing a compiler and C library, GNU has nothing to
do with linux. There are other compilers, and other C libraries.
https://en.wikipedia.org/wiki/GNU/Linux_naming_controversy
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93). Meanwhile, I think, you should get a ksh93 on Linux per default.
But I suggest to use the ksh93u+m (the version maintained by Martijn
Dekker), instead; it has a lot errors fixed.
A lot has changed between ksh88 and ksh93 already, and the current
ksh93 version developed even further. (Its man page shows details.)
On 31/01/2024 20:11, Janis Papanagnou wrote:
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93).
Meanwhile, I think, you should get a ksh93 on Linux per default.
But I suggest to use the ksh93u+m (the version maintained by Martijn
Dekker), instead; it has a lot errors fixed.
A lot has changed between ksh88 and ksh93 already, and the current
ksh93 version developed even further. (Its man page shows details.)
The most common standard shell on Linux is bash. [...]
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 31.01.2024 18:20, Scott Lurndal wrote:
<snip commentary about POSIX adopting most of ksh88>
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93).
Meanwhile, I think, you should get a ksh93 on Linux per default.
But I suggest to use the ksh93u+m (the version maintained by Martijn
Dekker), instead; it has a lot errors fixed.
The AT&T ksh93 has been distributed for a long time. My 2012
install of Fedora Core 20, OSX, and my recent Ubuntu install use:
$ Version AJM 93u+ 2012-08-01
It's been decades since pdksh/mksh were defaults.
That said, when one's talking about whether ksh93 is shipped
with "Linux" or not, it's surely important to talk about what
distribution one is referring to!
In article <upe60i$1latn$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
[snip]
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93).
Meanwhile, I think, you should get a ksh93 on Linux per default.
[snip]
I'm not sure I understand this. Linux is just the kernel; to
get a useful operating system, you need a number of other
components such as utilities, system libraries, a load, and
other tools. A number of such distributions are based on GNU
tools; at least one is based on BSD tools. So writing, "On
Linux you got only a ksh clone..." doesn't make much sense to me
and seems like a category error.
Certainly, one can install `ksh93` in a Linux distribution.
On 31.01.2024 20:28, Scott Lurndal wrote:
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 31.01.2024 18:20, Scott Lurndal wrote:
<snip commentary about POSIX adopting most of ksh88>
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93).
Meanwhile, I think, you should get a ksh93 on Linux per default.
But I suggest to use the ksh93u+m (the version maintained by Martijn
Dekker), instead; it has a lot errors fixed.
The AT&T ksh93 has been distributed for a long time. My 2012
install of Fedora Core 20, OSX, and my recent Ubuntu install use:
$ Version AJM 93u+ 2012-08-01
This is what I regularly see. - Also on my system. But I replaced it
with Version AJM 93u+m/1.0.8 2024-01-01.
(I suppose you use bash, but if you're using ksh I suggest to switch
to "ksh93u+m".)
It's been decades since pdksh/mksh were defaults.
On 31.01.2024 21:16, Dan Cross wrote:
In article <upe60i$1latn$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
[snip]
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93).
Meanwhile, I think, you should get a ksh93 on Linux per default.
[snip]
I'm not sure I understand this. Linux is just the kernel; to
get a useful operating system, you need a number of other
components such as utilities, system libraries, a load, and
other tools. A number of such distributions are based on GNU
tools; at least one is based on BSD tools. So writing, "On
Linux you got only a ksh clone..." doesn't make much sense to me
and seems like a category error.
Yes, you are absolutely right. - This was sloppy speech on my part.
Sorry for the confusion.
Certainly, one can install `ksh93` in a Linux distribution.
Meanwhile it seems to be standard in various (or all? can't tell)
distros. - I thought at least that should be clear from the text
you quoted above; see the "meanwhile [...] a ksh93 [...]" part.
[...]
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
[...]
I would greatly appreciate it if for future such [OT] threads
that they be started in a newsgroup where they are more
relevant to the subjects usually discussed there. Thank you.
On 31.01.2024 20:28, Scott Lurndal wrote:
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 31.01.2024 18:20, Scott Lurndal wrote:
<snip commentary about POSIX adopting most of ksh88>
On Linux you got only a ksh clone, first basically based on ksh88
(but I anyway never used it but downloaded the original AT&T ksh93).
Meanwhile, I think, you should get a ksh93 on Linux per default.
But I suggest to use the ksh93u+m (the version maintained by Martijn
Dekker), instead; it has a lot errors fixed.
The AT&T ksh93 has been distributed for a long time. My 2012
install of Fedora Core 20, OSX, and my recent Ubuntu install use:
$ Version AJM 93u+ 2012-08-01
This is what I regularly see. - Also on my system. But I replaced it
with Version AJM 93u+m/1.0.8 2024-01-01.
(I suppose you use bash, but if you're using ksh I suggest to switch
to "ksh93u+m".)
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 31.01.2024 20:28, Scott Lurndal wrote:
$ Version AJM 93u+ 2012-08-01
This is what I regularly see. - Also on my system. But I replaced it
with Version AJM 93u+m/1.0.8 2024-01-01.
(I suppose you use bash, but if you're using ksh I suggest to switch
to "ksh93u+m".)
No, I don't use bash. I've used ksh since 1989.
I'm perfectly happy with ksh93u.
.. dash (Ubuntu uses this, IIRC) ...
For all I know, this is the usenet equivalent of Mornington Crescent ...
I would greatly appreciate it if for future such [OT] threads that they
be started in a newsgroup where they are more relevant to the subjects usually discussed there. Thank you.
Frankly, Unix redirection racket looks like something hacked together
rather than designed as result of the solid thinking process.
As long as there were only standard input and output it was sort of
logical. But when they figured out that it is insufficient, they had
chosen a quick hack instead of constructing a solution that wouldn't
offend engineering senses of any non-preconditioned observer.
On Thu, 1 Feb 2024 12:50:36 +0000, bart wrote:
For all I know, this is the usenet equivalent of Mornington Crescent ...
You can’t get far in C without knowing POSIX. C on Windows is, let’s face it, a crippled language.
On Thu, 1 Feb 2024 12:50:36 +0000, bart wrote:
For all I know, this is the usenet equivalent of Mornington Crescent ...
You can’t get far in C without knowing POSIX. C on Windows is, let’s face it, a crippled language.
On 02/02/2024 04:57, Lawrence D'Oliveiro wrote:
On Thu, 1 Feb 2024 12:50:36 +0000, bart wrote:
For all I know, this is the usenet equivalent of Mornington CrescentYou can’t get far in C without knowing POSIX. C on Windows is, let’s
...
face it, a crippled language.
It sounds like you're the one who would be crippled without your beloved POSIX.
On 02/02/2024 04:57, Lawrence D'Oliveiro wrote:
On Thu, 1 Feb 2024 12:50:36 +0000, bart wrote:
For all I know, this is the usenet equivalent of Mornington Crescent
...
You can’t get far in C without knowing POSIX. C on Windows is, let’s
face it, a crippled language.
My program Crossword Designer is a Windows program and is written
entirely in C.
On 2/2/2024 5:43 PM, Lawrence D'Oliveiro wrote:
Given your ongoing tales of woe, wrestling cross-platform C code to
behave nicely on Windows, I wouldn’t change places for the world.
vcpkg is not all that bad. :^)
On 2/4/2024 2:36 PM, Lawrence D'Oliveiro wrote:
On Sat, 3 Feb 2024 12:47:29 -0800, Chris M. Thomasson wrote:
On 2/2/2024 5:43 PM, Lawrence D'Oliveiro wrote:
Given your ongoing tales of woe, wrestling cross-platform C code to
behave nicely on Windows, I wouldn’t change places for the world.
vcpkg is not all that bad. :^)
I’m sure vcpkg, winget, nuget, chocolatey, anaconda and all the rest of
them are not all that bad, at least not individually.
Having to use more than one of them, on the same system, would be where
it starts to go downhill ...
Pick one that works for your current setup, and use it. Fair enough?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 169:24:14 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,552 |