Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Packages should build-depend on what they should build-depend. -- Santiago Vila on debian-devel


devel / comp.lang.c / iso646.h

SubjectAuthor
* iso646.hLawrence D'Oliveiro
+- Re: iso646.hLew Pitcher
+* Re: iso646.hJames Kuyper
|`- Re: iso646.hLawrence D'Oliveiro
`* Re: iso646.hDavid Brown
 +* Re: iso646.hScott Lurndal
 |`* Re: iso646.hLawrence D'Oliveiro
 | `* Re: iso646.hKeith Thompson
 |  `* Re: iso646.hLawrence D'Oliveiro
 |   `* Re: iso646.hKeith Thompson
 |    `* Re: iso646.hLawrence D'Oliveiro
 |     `- Re: iso646.hKaz Kylheku
 `* Re: iso646.hLawrence D'Oliveiro
  +- Re: iso646.hKaz Kylheku
  +* Re: iso646.hBlue-Maned_Hawk
  |`* Re: iso646.hLawrence D'Oliveiro
  | +- Re: iso646.hKaz Kylheku
  | `* Re: iso646.hJanis Papanagnou
  |  `* Re: iso646.hLawrence D'Oliveiro
  |   +- Re: iso646.hJanis Papanagnou
  |   `- Re: iso646.hKaz Kylheku
  +- Re: iso646.hTim Rentsch
  +* Re: iso646.hJanis Papanagnou
  |`* Re: iso646.hLawrence D'Oliveiro
  | `- Re: iso646.hJanis Papanagnou
  +* Re: iso646.hDavid Brown
  |`* Re: iso646.hKaz Kylheku
  | +- Re: iso646.hbart
  | +* Re: iso646.hJanis Papanagnou
  | |+* Re: iso646.hKeith Thompson
  | ||`* Re: iso646.hLawrence D'Oliveiro
  | || +* Re: iso646.hKeith Thompson
  | || |`* Re: iso646.hDavid Brown
  | || | `- Re: iso646.hJanis Papanagnou
  | || +* Re: iso646.hLew Pitcher
  | || |`* Re: iso646.hLawrence D'Oliveiro
  | || | +- Re: iso646.hLew Pitcher
  | || | +* Re: iso646.hKaz Kylheku
  | || | |`- Re: iso646.hChris M. Thomasson
  | || | `- Re: iso646.hScott Lurndal
  | || `- Re: iso646.hKaz Kylheku
  | |`* Re: iso646.hKaz Kylheku
  | | +- Re: iso646.hJanis Papanagnou
  | | `* Re: iso646.hJanis Papanagnou
  | |  `- Re: iso646.hKaz Kylheku
  | `- Re: iso646.hDavid Brown
  +- Re: iso646.hbart
  `* Re: iso646.hMalcolm McLean
   +* Re: iso646.hLew Pitcher
   |+- Re: iso646.hKaz Kylheku
   |+* Re: iso646.hLawrence D'Oliveiro
   ||+* Re: iso646.hKeith Thompson
   |||`* Re: iso646.hLawrence D'Oliveiro
   ||| +* Re: iso646.hKeith Thompson
   ||| |+- Re: iso646.hLawrence D'Oliveiro
   ||| |`- Re: iso646.hMalcolm McLean
   ||| `- Re: iso646.hJanis Papanagnou
   ||`- Re: iso646.hJanis Papanagnou
   |`* C/CPP macro conventions (was Re: iso646.h)Janis Papanagnou
   | `* Re: C/CPP macro conventions (was Re: iso646.h)Kaz Kylheku
   |  +- Re: C/CPP macro conventions (was Re: iso646.h)Janis Papanagnou
   |  +- Re: C/CPP macro conventions (was Re: iso646.h)David Brown
   |  `- Re: C/CPP macro conventions (was Re: iso646.h)Blue-Maned_Hawk
   +* Re: iso646.hbart
   |+* Re: iso646.hScott Lurndal
   ||`* Re: iso646.hJames Kuyper
   || +* Re: iso646.hKalevi Kolttonen
   || |+* Re: iso646.hLawrence D'Oliveiro
   || ||`* Re: iso646.hKaz Kylheku
   || || +* Re: iso646.hKalevi Kolttonen
   || || |`* Re: iso646.hJanis Papanagnou
   || || | `* Re: iso646.hJames Kuyper
   || || |  +* Re: iso646.hJanis Papanagnou
   || || |  |+- Re: iso646.hJanis Papanagnou
   || || |  |+* Re: iso646.hKalevi Kolttonen
   || || |  ||`* Re: iso646.hKalevi Kolttonen
   || || |  || `* Re: iso646.hLawrence D'Oliveiro
   || || |  ||  `- Re: iso646.hDavid Brown
   || || |  |`* Re: iso646.hKeith Thompson
   || || |  | `- Re: iso646.hKalevi Kolttonen
   || || |  +- Re: iso646.hLawrence D'Oliveiro
   || || |  `* Re: iso646.hKaz Kylheku
   || || |   `* Re: iso646.hJames Kuyper
   || || |    +* Re: iso646.hDavid Brown
   || || |    |+* Re: iso646.hJanis Papanagnou
   || || |    ||`* Re: iso646.hDavid Brown
   || || |    || `- Re: iso646.hJanis Papanagnou
   || || |    |`* Re: iso646.hbart
   || || |    | `- Re: iso646.hDavid Brown
   || || |    `- Re: iso646.hTim Rentsch
   || || `- Re: iso646.hJanis Papanagnou
   || |`- Unix shell conditionals (was Re: iso646.h)Janis Papanagnou
   || `* Re: iso646.hScott Lurndal
   ||  +* Re: iso646.hKaz Kylheku
   ||  |`* Re: iso646.hbart
   ||  | `- Re: iso646.hKaz Kylheku
   ||  +- Re: iso646.hKeith Thompson
   ||  `* Re: iso646.hJames Kuyper
   ||   `- Re: iso646.hJanis Papanagnou
   |+* Python (Re: iso646.h)Kalevi Kolttonen
   ||+* Re: Python (Re: iso646.h)bart
   ||+* Re: Python (Re: iso646.h)Keith Thompson
   ||+* Re: Python (Re: iso646.h)Lawrence D'Oliveiro
   ||`- Re: Python (Re: iso646.h)Dan Cross
   |+* Re: iso646.hKeith Thompson
   |`* Re: iso646.hMalcolm McLean
   `* Re: iso646.hLawrence D'Oliveiro

Pages:1234567891011121314151617181920212223242526
Re: iso646.h

<updshb$1jka5$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32131&group=comp.lang.c#32131

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 17:29:30 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <updshb$1jka5$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me>
<87frym7l3p.fsf@nosuchdomain.example.com> <uot08a$278i2$1@dont-email.me>
<uotmed$2ack6$2@dont-email.me> <up17f9$313qt$4@dont-email.me>
<up197h$31jct$1@dont-email.me> <up1t0r$37v5a$4@dont-email.me>
<up2mor$3bjgb$1@dont-email.me> <up2ogd$3bs86$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me> <up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com> <up4ceh$3k4b8$1@dont-email.me>
<up5fk6$3t99q$6@dont-email.me> <up5u8c$blo$1@dont-email.me>
<up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me>
<86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me>
<86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me>
<865xzaas3m.fsf@linuxsc.com> <20240131124332.00002c05@yahoo.com>
<upddks$1gkml$1@dont-email.me> <20240131170312.00006f30@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 16:29:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="227020966060209617dd8106d62be005";
logging-data="1691973"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183rjwH/H36IvDzTyy20Rqd"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:SrzkbMY73a/8wWHp+nsUpzVvO6I=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <20240131170312.00006f30@yahoo.com>
 by: Janis Papanagnou - Wed, 31 Jan 2024 16:29 UTC

On 31.01.2024 16:03, Michael S wrote:
>
> My objection is with each program having exactly 1 special input and
> exactly 2 special outputs. Instead of having, say, up to 5 of each,
> fully interchangeable with the first of the five being special only in
> that that it is a default and as such allows for shorter syntax in the
> shell.

The first three are pre-assigned and read to use for application.
You can redirect, close, or open them on shell level with a set of
redirection commands, and you can do such things also on OS-level
with the Unix system commands.

I'm not sure why you mentioned 5, whether that's better or worse.
There's naturally some limit on OS level on the number of parallel
open file descriptors, but that limit is very high. Mind that you
can always close unused ones.

Janis

Re: iso646.h

<87bk91tqhd.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32132&group=comp.lang.c#32132

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!nntp.comgw.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 08:30:38 -0800
Organization: None to speak of
Lines: 22
Message-ID: <87bk91tqhd.fsf@nosuchdomain.example.com>
References: <uokhnk$eiln$1@dont-email.me> <up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <U98uN.131477$q3F7.52171@fx45.iad>
<upb4ng$11pmg$1@dont-email.me> <iZ8uN.374647$p%Mb.202743@fx15.iad>
<87cyti61o4.fsf@nosuchdomain.example.com>
<upcnq4$1db7v$3@dont-email.me> <updbo9$1ga92$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="e9ab33cd51e38659416bab92bcd2f21f";
logging-data="1689742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+zrK8AL4yEtWT0q3CB/lu"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:c5HMgZi36ZzotugmZkWxGFpQo00=
sha1:dWOwwSGq1CL4h5FMSFFjcrvEqk4=
 by: Keith Thompson - Wed, 31 Jan 2024 16:30 UTC

Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
> On 31.01.2024 07:02, Lawrence D'Oliveiro wrote:
>> On Tue, 30 Jan 2024 11:50:35 -0800, Keith Thompson wrote:
>>> VMS (now OpenVMS) was also a significant system at the time, and it had
>>> some rather complex file formats ...
>>
>> [...]
>>
>> Apparently Linus Torvalds used VMS for a while, and hated it.
>
> I don't understand the intention of this comment.
> VMS and Torvalds are completely different eras.

OpenVMS V9.2-2 was released this month. V9.2-1 is supported until
December 2026.

[...]

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: iso646.h

<877cjptqcc.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32133&group=comp.lang.c#32133

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!nntp.comgw.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 08:33:39 -0800
Organization: None to speak of
Lines: 17
Message-ID: <877cjptqcc.fsf@nosuchdomain.example.com>
References: <uokhnk$eiln$1@dont-email.me> <uotmed$2ack6$2@dont-email.me>
<up17f9$313qt$4@dont-email.me> <up197h$31jct$1@dont-email.me>
<up1t0r$37v5a$4@dont-email.me> <up2mor$3bjgb$1@dont-email.me>
<up2ogd$3bs86$1@dont-email.me> <up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com>
<upd0pj$1elmk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="e9ab33cd51e38659416bab92bcd2f21f";
logging-data="1689742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZQL6hcFgLw8qMaaCr38+L"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:INq5UcsiiPbHRtqnaRqBw3rrRUk=
sha1:qlkJ7FOf0KV5mKZYFjV7g78oFQg=
 by: Keith Thompson - Wed, 31 Jan 2024 16:33 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
> On 31/01/2024 07:18, Tim Rentsch wrote:
[...]
>> It is FAR more cumbersome to accomplish what this command
>> is doing without sending binary data through standard out.
>> Anyone who doesn't understand this doesn't understand Unix.
>>
> Yes. I don't do that sort of thing.

You don't. Others do. What was your point again?

[...]

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: iso646.h

<8734udtq3i.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32134&group=comp.lang.c#32134

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 08:38:57 -0800
Organization: None to speak of
Lines: 14
Message-ID: <8734udtq3i.fsf@nosuchdomain.example.com>
References: <uokhnk$eiln$1@dont-email.me> <up1t0r$37v5a$4@dont-email.me>
<up2mor$3bjgb$1@dont-email.me> <up2ogd$3bs86$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me> <up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <upas3j$10bft$1@dont-email.me>
<upb5q3$11vej$1@dont-email.me> <upb7ts$12b6n$1@dont-email.me>
<upco3j$1db7v$7@dont-email.me> <updiud$1hgpi$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="e9ab33cd51e38659416bab92bcd2f21f";
logging-data="1689742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tJ7po91hTgRjyfykBU9ve"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:cf+Ofse22UuKwS7a0gOHN0z/Cb0=
sha1:mPiA6CZAv7CjWyEVvF/rIVZw0Tw=
 by: Keith Thompson - Wed, 31 Jan 2024 16:38 UTC

David Brown <david.brown@hesbynett.no> writes:
[...]
> However, I learned a new trick when checking that I was not mistaken
> about this - it turns out that "less file.pdf" gives a nice text-only
> output from the pdf file (by passing it through "lesspipe"). There's
> always something new to learn from inane conversations on Usenet :-)

It doesn't necessarily do this by default. See the documentation for
details (which are of course off-topic here).

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: iso646.h

<87y1c5sbfg.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32135&group=comp.lang.c#32135

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 08:41:07 -0800
Organization: None to speak of
Lines: 22
Message-ID: <87y1c5sbfg.fsf@nosuchdomain.example.com>
References: <uokhnk$eiln$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <U98uN.131477$q3F7.52171@fx45.iad>
<upb4ng$11pmg$1@dont-email.me> <iZ8uN.374647$p%Mb.202743@fx15.iad>
<upb714$12694$1@dont-email.me> <upb9bm$12ht9$1@dont-email.me>
<upbovh$157n2$1@dont-email.me> <updkao$1i2he$2@dont-email.me>
<7HtuN.273515$Wp_8.87289@fx17.iad>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="e9ab33cd51e38659416bab92bcd2f21f";
logging-data="1689742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ozsn4Ni15+/iNJ6MQX8dI"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:eDaWTOADZ5Ak3EiQaHbS371Ehsg=
sha1:BsUb2mQgj2U0noX4zufIwv5YqSc=
 by: Keith Thompson - Wed, 31 Jan 2024 16:41 UTC

scott@slp53.sl.home (Scott Lurndal) writes:
[...]
> Quick and dirty editor:
>
> $ cat > /tmp/file < /dev/tty
> line1
> line2
> line3
> ^D
> $
> $ cat /tmp/file
> line1
> line2
> line3
> $

You probably don't need the "< /dev/tty".

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: iso646.h

<updtj6$1jqdh$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32137&group=comp.lang.c#32137

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 17:47:33 +0100
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <updtj6$1jqdh$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me> <87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com>
<20240131124332.00002c05@yahoo.com> <gDtuN.273514$Wp_8.83091@fx17.iad>
<20240131174249.00006e06@yahoo.com> <updr44$1jcmu$1@dont-email.me>
<20240131181820.00007acc@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 16:47:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="227020966060209617dd8106d62be005";
logging-data="1698225"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/WOeCM4CWsC8UwAeLlD9T"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:RRigtCxQOsXBjrtSdGKAC6B7MKg=
In-Reply-To: <20240131181820.00007acc@yahoo.com>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Wed, 31 Jan 2024 16:47 UTC

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:
>
> The books were talking about Bourne shell and C shell. They acknowledged
> an existence of ksh, but didn't go into details. I don't remember if
> bash was mentioned at all.

So that's understandable then. The C shell is not really suited for
programming (and commonly depreciated; "C shell considered harmful").
And Bourne sh is indeed very restricted.

> Of course, in practice in this century I used bash almost exclusively,
> but never learned it formally, by book, from start to finish.

In case that bash is still part of your working environment I suggest
to update your knowledge by reading some good bash tutorial. It's
really a huge gain if compared to Bourne sh. In case, though, you want
to do _portable_ shell programming then take some book that clearly
indicates what is POSIX and what is some extension.

> The same as over 90% of bash users, I'd guess.

Well, I think you have to differentiate the levels. Quite many users
of bash take this shell as "quasi-standard"; which is mostly okay in a
Linux world. And know exactly that universe. If you happen to work in
a larger Unix universe that might be a hindrance. (Thus POSIX, or use
of ksh, which is even more powerful than bash, or zsh, supplemented
with its own but some more coherent concepts.)

>
> I did understand '3<' by association with '2>' that was in the book,
> but more importantly, is something I use regularly.
> However I had never seen '3<' in the books.

It's just the numbers of file descriptors and whether it's an input >
or output < channel, or even a read/write channel <> . That's why in
books (or man pages) you regularly see the building blocks, not the
complete enumeration.

(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.)

Janis

Re: iso646.h

<OWuuN.57041$U1cc.43539@fx04.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32138&group=comp.lang.c#32138

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.samoylyk.net!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx04.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: iso646.h
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me> <up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com> <20240131124332.00002c05@yahoo.com> <upddks$1gkml$1@dont-email.me> <20240131170312.00006f30@yahoo.com> <WZtuN.273518$Wp_8.264429@fx17.iad> <20240131180429.000038bf@yahoo.com>
Lines: 122
Message-ID: <OWuuN.57041$U1cc.43539@fx04.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 31 Jan 2024 16:54:06 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 31 Jan 2024 16:54:06 GMT
X-Received-Bytes: 6159
 by: Scott Lurndal - Wed, 31 Jan 2024 16:54 UTC

Michael S <already5chosen@yahoo.com> writes:
>On Wed, 31 Jan 2024 15:49:10 GMT
>scott@slp53.sl.home (Scott Lurndal) wrote:
>
>> Michael S <already5chosen@yahoo.com> writes:
>> >On Wed, 31 Jan 2024 12:15:23 +0000
>> >Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
>>
>> >> It was designed for very memory constrained systems which handled
>> >> text on a line by line basis. So one line of a long file wuld be
>> >> processed and passed down the pipeline, and you wouldn't need
>> >> temporary disk files or large amounts of memory. I'm sure it worked
>> >> quite well for that.
>> >>
>> >>
>> >
>> >A concept of pipes is fine. I was not talking about that side.
>> >
>> >My objection is with each program having exactly 1 special input and
>> >exactly 2 special outputs. Instead of having, say, up to 5 of each,
>> >fully interchangeable with the first of the five being special only
>> >in that that it is a default and as such allows for shorter syntax
>> >in the shell.
>>
>> Each program has 1024 (on my system - it's configurable on a
>> per-process basis) fully interchangable "inputs" and "outputs" (also
>> known as files).
>>
>> $ application 5> /tmp/file5
>>
>> will redirect file descriptor five to the specified file.
>>
>>
>> There's nothing special about stdin, stdout or stderr other than
>> that they are tags applied to the first three file descriptors.
>>
>> There is a convention the that the first file descriptor
>> is used for input, the second for output and the third
>> for diagnostic output. But it's just a convention
>
>I don't understand.
>Are not descriptors 0,1 and 2 special in that that they are already
>open (I don't know if by OS or by shell) when the program starts and the
>rest of them, if ever used, have to be opened by the program code?

That's a contract between a shell and an application. A shell
doesn't need to provide POSIX semantics, although it will likely
do so just to maintain compataiblity with existing applications.

Applications like daemons usually are disconnected from stdin/stdout/stderr
completely, as they're not designed for interactive use.

Using the fork and exec (or posix_spawn) system calls, an application can invoke another
application without the shell and any number of file descriptors
can be left open for the child to use in any way. It's a contract
between the two applications.

>
>On only remotely related note, what happens on your system when you
>want more than 1024 files to be open by one program simultaneously?
>

$ ulimit -f 2048

Will increase the limit, to any arbitrary value, subject to system
wide limits configured by the superuser (system manager).

There's a system call (setrlimit) that an application can use as well, and the
limit will be inherited by child processes.

One might argue that there are few cases (absent network daemons)
where more than 2k files will need to be open simultaneously.

For each resource (address space size, core file size, max cpu time,
file size, open files, et cetera, et alia) there are two values;
a hard limit (which a process can never exceed) and a soft limit.
A process can increase the soft limit up to the hard limit.

In my case, the hard limit is 8192 and the soft limit is 1024.

$ ulimit -aH
address space limit (Kibytes) (-M) unlimited
core file size (blocks) (-c) unlimited
cpu time (seconds) (-t) unlimited
data size (Kibytes) (-d) unlimited
file size (blocks) (-f) unlimited
locks (-x) unlimited
locked address space (Kibytes) (-l) 64
message queue size (Kibytes) (-q) 800
nice (-e) 0
nofile (-n) 8192
nproc (-u) 63878
pipe buffer size (bytes) (-p) 4096
max memory size (Kibytes) (-m) unlimited
rtprio (-r) 0
socket buffer size (bytes) (-b) 4096
sigpend (-i) 63878
stack size (Kibytes) (-s) unlimited
swap size (Kibytes) (-w) not supported
threads (-T) not supported
process size (Kibytes) (-v) unlimited
$ ulimit -aS
address space limit (Kibytes) (-M) unlimited
core file size (blocks) (-c) 0
cpu time (seconds) (-t) unlimited
data size (Kibytes) (-d) unlimited
file size (blocks) (-f) unlimited
locks (-x) unlimited
locked address space (Kibytes) (-l) 64
message queue size (Kibytes) (-q) 800
nice (-e) 0
nofile (-n) 1024
nproc (-u) 1024
pipe buffer size (bytes) (-p) 4096
max memory size (Kibytes) (-m) unlimited
rtprio (-r) 0
socket buffer size (bytes) (-b) 4096
sigpend (-i) 63878
stack size (Kibytes) (-s) 8192
swap size (Kibytes) (-w) not supported
threads (-T) not supported
process size (Kibytes) (-v) unlimited

Re: iso646.h

<h5vuN.294142$PuZ9.195643@fx11.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32139&group=comp.lang.c#32139

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.hispagatos.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: iso646.h
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me> <up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com> <upd0pj$1elmk$1@dont-email.me> <updl0s$1i2he$3@dont-email.me> <updopb$1iv0b$1@dont-email.me> <M6uuN.273609$Wp_8.126584@fx17.iad> <updrr8$1jglq$1@dont-email.me>
Lines: 38
Message-ID: <h5vuN.294142$PuZ9.195643@fx11.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 31 Jan 2024 17:05:17 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 31 Jan 2024 17:05:17 GMT
X-Received-Bytes: 2939
 by: Scott Lurndal - Wed, 31 Jan 2024 17:05 UTC

Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>On 31.01.2024 16:58, Scott Lurndal wrote:
>> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>>> On 31.01.2024 15:21, David Brown wrote:
>>>> On 31/01/2024 09:36, Malcolm McLean wrote:
>>>>> [ I snipped a couple of "I actually don't know/need it" things ]
>>>>>
>>>>> But now it's effectively a programming language, and, from the example
>>>>> code, a very poorly designed one which is cryptic and fussy and liable
>>>>> to be hard to maintain. So it's better to use a language like Perl to
>>>>> achieve the same thing, and I did have a few Perl scripts handy for
>>>>> repetitive jobs of that nature in my Unix days.
>>>>
>>>> That gave me a laugh! You think bash is cryptic, fussy and poorly
>>>> designed, and choose /Perl/ as the alternative :-)
>>>
>>> I don't think it's that clear a joke. The Unix shell is extremely
>>> error prone to program, and you should not let a newbie write shell
>>> programs without careful supervision.
>>
>> Nonsense.
>
>Not the least. - I'm not sure about your background in shell.

I've been using shells (sh, ksh) daily since 1979. I've contributed code
to the linux kernel (a kernel debugger called kdb in 1998).
I've contributed code to Oracle's RDBMS (OS dependent I/O code).
I've co-written a unix-compatible distributed operating system[*] for a massively
parallel machine (in C++) and two bare-metal hypervisors which execute
linux guest operating systems. I spent 6 years on the base working group
at X/Open and the Open Group working on the XPG standards (which were merged
with the POSIX standards a decade ago).

I won't say that there aren't gotchas when writing shell scripts,
particularly when used by someone with elevated privileged, but that
doesn't make them "extremely error prone".

[*] eventually in partnership with USL (Unix System Labs - i.e. AT&T), Fujitsu, ICL.

Re: iso646.h

<updum6$1k13j$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32140&group=comp.lang.c#32140

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!nntp.comgw.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 18:06:13 +0100
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <updum6$1k13j$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me> <87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <U98uN.131477$q3F7.52171@fx45.iad>
<upb4ng$11pmg$1@dont-email.me> <iZ8uN.374647$p%Mb.202743@fx15.iad>
<87cyti61o4.fsf@nosuchdomain.example.com> <upcnq4$1db7v$3@dont-email.me>
<updbo9$1ga92$1@dont-email.me> <20240131135802.00001bf6@yahoo.com>
<upder4$1gqso$1@dont-email.me> <upds05$1jcte$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 17:06:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a0200bb1792f9cd6df6086476ea85d9";
logging-data="1705075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+p6y+RS4jHcRHYCQrqLYrU"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:yyw80Of31+ia18fY2ioMda0h2pA=
In-Reply-To: <upds05$1jcte$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Wed, 31 Jan 2024 17:06 UTC

On 31.01.2024 17:20, James Kuyper wrote:
> On 1/31/24 07:35, Janis Papanagnou wrote:
> ...
>> I associate DEC's VMS with the old DEC VAX-11 system, both
>> from around the mid of the 1970's. I programmed on a DEC's
>> VAX with VMS obviously before Linus Torvalds started his
>> studies. And that was at a time when the DEC VAX and VMS
>> were replaced at our sites by Unix systems.
>
> OK - so it's that association you've got wrong. I know VMS was still
> going strong around 1990 when I was introduced to it. It might have been
> in decline at the time, but it was very far from being gone.

I am aware that it was also existing in the late 1990's, if
at least through the openVMS form. I certainly have not the
whole market in view. All I can say is what I wrote, that we
have changed our platforms at that time, and when I shortly
later switched jobs to the telecommunication area the "whole
world" (sort of) downsized their machine parks to mainly Unix
systems or (partly; later commonly, at least for the Clients)
Windows based systems. And the Unix server installations grew
enormously during the 1990's, then came the big wave of Linux,
and all the providers building their farms on Linux basis. DEC
became invisible [to me] (I was not saying it vanished), similar
like COBOL did not vanish.

Yet I don't understand the relation to Linus Torvalds that was
the source of mentioning VMS. - I mean; only that he dislikes
it is not much of a news. (I've done a few things on a DEC/VAX
with VMS, and I recall it had a verbose hierarchical file system,
a horrible screen VT220, and a (literally!) impressive VT100
keyboard; my fingers still ache when thinking about it. These
days I already had experiences former with Unix (VM/UTS), so I
did know what I got or what I was missing with VMS.)

Janis

Re: iso646.h

<t6vuN.294143$PuZ9.161910@fx11.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32141&group=comp.lang.c#32141

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: iso646.h
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me> <U98uN.131477$q3F7.52171@fx45.iad> <upb4ng$11pmg$1@dont-email.me> <iZ8uN.374647$p%Mb.202743@fx15.iad> <upb714$12694$1@dont-email.me> <upb9bm$12ht9$1@dont-email.me> <upbovh$157n2$1@dont-email.me> <updkao$1i2he$2@dont-email.me> <7HtuN.273515$Wp_8.87289@fx17.iad> <87y1c5sbfg.fsf@nosuchdomain.example.com>
Lines: 22
Message-ID: <t6vuN.294143$PuZ9.161910@fx11.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 31 Jan 2024 17:06:33 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 31 Jan 2024 17:06:33 GMT
X-Received-Bytes: 1415
 by: Scott Lurndal - Wed, 31 Jan 2024 17:06 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>scott@slp53.sl.home (Scott Lurndal) writes:
>[...]
>> Quick and dirty editor:
>>
>> $ cat > /tmp/file < /dev/tty
>> line1
>> line2
>> line3
>> ^D
>> $
>> $ cat /tmp/file
>> line1
>> line2
>> line3
>> $
>
>You probably don't need the "< /dev/tty".

True, in most cases. Although I thought it more illustrative
to do it that way in this context.

Re: iso646.h

<87ttmts9ro.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32142&group=comp.lang.c#32142

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 09:16:59 -0800
Organization: None to speak of
Lines: 20
Message-ID: <87ttmts9ro.fsf@nosuchdomain.example.com>
References: <uokhnk$eiln$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com>
<20240131124332.00002c05@yahoo.com> <upddks$1gkml$1@dont-email.me>
<20240131170312.00006f30@yahoo.com>
<WZtuN.273518$Wp_8.264429@fx17.iad>
<20240131180429.000038bf@yahoo.com> <OWuuN.57041$U1cc.43539@fx04.iad>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="e9ab33cd51e38659416bab92bcd2f21f";
logging-data="1705180"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189TiGergl7zAEwLmuZRrKm"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:dtX4qEQ/FuMNFSv23j4S6YnWlLU=
sha1:x9NRsBql78iwWlfcSTEEzs2LRT0=
 by: Keith Thompson - Wed, 31 Jan 2024 17:16 UTC

scott@slp53.sl.home (Scott Lurndal) writes:
> Michael S <already5chosen@yahoo.com> writes:
[...]
>>On only remotely related note, what happens on your system when you
>>want more than 1024 files to be open by one program simultaneously?
>>
>
> $ ulimit -f 2048
>
> Will increase the limit, to any arbitrary value, subject to system
> wide limits configured by the superuser (system manager).

That sets the limit for file size. I think you mean "ulimit -n 2048".

[...]

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: iso646.h

<updvfj$1k5j9$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32143&group=comp.lang.c#32143

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 18:19:47 +0100
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <updvfj$1k5j9$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me> <87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <U98uN.131477$q3F7.52171@fx45.iad>
<upb4ng$11pmg$1@dont-email.me> <iZ8uN.374647$p%Mb.202743@fx15.iad>
<87cyti61o4.fsf@nosuchdomain.example.com> <upcnq4$1db7v$3@dont-email.me>
<updbo9$1ga92$1@dont-email.me> <20240131135802.00001bf6@yahoo.com>
<upder4$1gqso$1@dont-email.me> <20240131151005.00003c92@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 17:19:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a0200bb1792f9cd6df6086476ea85d9";
logging-data="1709673"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/urGmvMvkAAXZloc8QuYyf"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:/HzN2VuoGuH+cLQhnV3HnI5Oquo=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <20240131151005.00003c92@yahoo.com>
 by: Janis Papanagnou - Wed, 31 Jan 2024 17:19 UTC

On 31.01.2024 14:10, Michael S wrote:
>> [ DEC's VMS ]
>
> Released in 1977.
> Reached the peak of popularity in mid 1980s, when DEC decided to use
> VAX not just as mini/super-mini, but also as competitor to mainframes,
> effectively killing their earlier mainframe line (PDP-6/10/20).

This is interesting. These days all major players here switched to
Unix systems (in our context specifically AIX and HP-UX), exactly
to exchange the huge sports halls full of mainframe computers to
just a small room full of Unix servers.

> [...]
>
>>> By value, likely still bigger than all Unixen combined.
>>
>> Not sure what (to me strange sounding) ideas you have here.
>
> I can say the same.

Sure, so let me expand. The "By value" was what made me doubt. The
"values" (Real Money) I experienced in the legacy mainframe areas,
in the financial sector (banks and assurance companies); these were
not DECs here, and they were hard to replace. - I know that every
couple years they made their business cases about how they can get
rid of the mainframes, to no avail. (Don't know how it evolved the
past 20 years, though.) And later all the ISP computing power went
in Linux plants, where the money was made. I never observed that
DEC/VMS was of any importance "by value". If it had some value by
means I'm not aware of, I take your word as granted.

Janis

Re: iso646.h

<yjvuN.94320$STLe.5998@fx34.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32144&group=comp.lang.c#32144

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.chmurka.net!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx34.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: iso646.h
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com> <20240131124332.00002c05@yahoo.com> <gDtuN.273514$Wp_8.83091@fx17.iad> <20240131174249.00006e06@yahoo.com> <updr44$1jcmu$1@dont-email.me> <20240131181820.00007acc@yahoo.com> <updtj6$1jqdh$1@dont-email.me>
Lines: 10
Message-ID: <yjvuN.94320$STLe.5998@fx34.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 31 Jan 2024 17:20:30 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 31 Jan 2024 17:20:30 GMT
X-Received-Bytes: 1503
 by: Scott Lurndal - Wed, 31 Jan 2024 17:20 UTC

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.

Re: iso646.h

<ykvuN.94321$STLe.72942@fx34.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32145&group=comp.lang.c#32145

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx34.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: iso646.h
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com> <20240131124332.00002c05@yahoo.com> <upddks$1gkml$1@dont-email.me> <20240131170312.00006f30@yahoo.com> <WZtuN.273518$Wp_8.264429@fx17.iad> <20240131180429.000038bf@yahoo.com> <OWuuN.57041$U1cc.43539@fx04.iad> <87ttmts9ro.fsf@nosuchdomain.example.com>
Lines: 16
Message-ID: <ykvuN.94321$STLe.72942@fx34.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 31 Jan 2024 17:21:34 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 31 Jan 2024 17:21:34 GMT
X-Received-Bytes: 1560
 by: Scott Lurndal - Wed, 31 Jan 2024 17:21 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>scott@slp53.sl.home (Scott Lurndal) writes:
>> Michael S <already5chosen@yahoo.com> writes:
>[...]
>>>On only remotely related note, what happens on your system when you
>>>want more than 1024 files to be open by one program simultaneously?
>>>
>>
>> $ ulimit -f 2048
>>
>> Will increase the limit, to any arbitrary value, subject to system
>> wide limits configured by the superuser (system manager).
>
>That sets the limit for file size. I think you mean "ulimit -n 2048".

Yes, thank you.

Re: iso646.h

<20240131193606.00007e96@yahoo.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32146&group=comp.lang.c#32146

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5...@yahoo.com (Michael S)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:36:06 +0200
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <20240131193606.00007e96@yahoo.com>
References: <uokhnk$eiln$1@dont-email.me>
<87frym7l3p.fsf@nosuchdomain.example.com>
<uot08a$278i2$1@dont-email.me>
<uotmed$2ack6$2@dont-email.me>
<up17f9$313qt$4@dont-email.me>
<up197h$31jct$1@dont-email.me>
<up1t0r$37v5a$4@dont-email.me>
<up2mor$3bjgb$1@dont-email.me>
<up2ogd$3bs86$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me>
<up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me>
<up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me>
<86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me>
<86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me>
<865xzaas3m.fsf@linuxsc.com>
<20240131124332.00002c05@yahoo.com>
<upddks$1gkml$1@dont-email.me>
<20240131170312.00006f30@yahoo.com>
<updshb$1jka5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="dde7e6588c421492c1bae181782363df";
logging-data="1612964"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SqA/DznTR5WQbvyuSJiVocsrkDz/L9pU="
Cancel-Lock: sha1:5vdwoahvnbMZ6afRzf70IZDaW5c=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
 by: Michael S - Wed, 31 Jan 2024 17:36 UTC

On Wed, 31 Jan 2024 17:29:30 +0100
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>
> I'm not sure why you mentioned 5, whether that's better or worse.
> There's naturally some limit on OS level on the number of parallel
> open file descriptors, but that limit is very high. Mind that you
> can always close unused ones.
>
> Janis
>

Five of each sort, i.e. five inputs and five outputs, sound good to me.

Much more than five of each sort pre-opened by shell sound like too
much. If there exist a need for more than five channels for
communication between complex of programs then this complex of programs
very likely was designed to work together and only together. And then
any intervention of the user into communication between them will
likely do more harm than good.

Of course, I fully expect that usefully using more than three
predefined channels of any particular direction would be very rare, but
I still like five, or at least four, better than three.

As to not using predefined direction and instead just providing a pool
of up to 10 pre-open descriptors, this idea didn't cross my mind in
those particular five minutes that I was writing my initial (yes,
provocative, yes intentionally so) post. Right now I don't want to
think whether I like it or not, because I see no good reasons to
think deeply about this particular water under bridge.

Re: iso646.h

<20240131195316.00006d1b@yahoo.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32147&group=comp.lang.c#32147

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5...@yahoo.com (Michael S)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:53:16 +0200
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <20240131195316.00006d1b@yahoo.com>
References: <uokhnk$eiln$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me>
<up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me>
<up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me>
<86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me>
<86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me>
<U98uN.131477$q3F7.52171@fx45.iad>
<upb4ng$11pmg$1@dont-email.me>
<iZ8uN.374647$p%Mb.202743@fx15.iad>
<87cyti61o4.fsf@nosuchdomain.example.com>
<upcnq4$1db7v$3@dont-email.me>
<updbo9$1ga92$1@dont-email.me>
<20240131135802.00001bf6@yahoo.com>
<upder4$1gqso$1@dont-email.me>
<20240131151005.00003c92@yahoo.com>
<updvfj$1k5j9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="dde7e6588c421492c1bae181782363df";
logging-data="1612964"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188abvJx8B69fzK60UnUGeYdOj/kDQePWk="
Cancel-Lock: sha1:HhaRorWkEOS7wzvtUOhDjGp4mvU=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
 by: Michael S - Wed, 31 Jan 2024 17:53 UTC

On Wed, 31 Jan 2024 18:19:47 +0100
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:

> On 31.01.2024 14:10, Michael S wrote:
> >> [ DEC's VMS ]
> >
> > Released in 1977.
> > Reached the peak of popularity in mid 1980s, when DEC decided to use
> > VAX not just as mini/super-mini, but also as competitor to
> > mainframes, effectively killing their earlier mainframe line
> > (PDP-6/10/20).
>
> This is interesting. These days all major players here switched to
> Unix systems (in our context specifically AIX and HP-UX), exactly
> to exchange the huge sports halls full of mainframe computers to
> just a small room full of Unix servers.
>

Wikipedia tells me that AIX formally exists since 1986, but in reality
it was just a curiosity until ported to POWER in 1990.
HP-UX sort of existed, but under different name and was not
particularly big until 1990 or 1991.

> > [...]
> >
> >>> By value, likely still bigger than all Unixen combined.
> >>
> >> Not sure what (to me strange sounding) ideas you have here.
> >
> > I can say the same.
>
> Sure, so let me expand. The "By value" was what made me doubt. The
> "values" (Real Money) I experienced in the legacy mainframe areas,
> in the financial sector (banks and assurance companies); these were
> not DECs here, and they were hard to replace. - I know that every
> couple years they made their business cases about how they can get
> rid of the mainframes, to no avail. (Don't know how it evolved the
> past 20 years, though.) And later all the ISP computing power went
> in Linux plants, where the money was made. I never observed that
> DEC/VMS was of any importance "by value". If it had some value by
> means I'm not aware of, I take your word as granted.
>
> Janis
>

DEC was a big company back then, very solidly #2 computers business in
the "West", if we consider Japan as "East'. Somehow I remember a number
14B USD in 1991 or 1992, back when #3 was may be 5 or 6B USD.
And in the second half of the 80s VAX/VMS was the biggest part of DEC
by far. Of course, there always were internal struggles and internal
competition, but it seems less so in this period then in other periods
of DEC's history.

Re: iso646.h

<upe1tt$1kjfd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32148&group=comp.lang.c#32148

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:01:32 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <upe1tt$1kjfd$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me>
<87frym7l3p.fsf@nosuchdomain.example.com> <uot08a$278i2$1@dont-email.me>
<uotmed$2ack6$2@dont-email.me> <up17f9$313qt$4@dont-email.me>
<up197h$31jct$1@dont-email.me> <up1t0r$37v5a$4@dont-email.me>
<up2mor$3bjgb$1@dont-email.me> <up2ogd$3bs86$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me> <up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com> <up4ceh$3k4b8$1@dont-email.me>
<up5fk6$3t99q$6@dont-email.me> <up5u8c$blo$1@dont-email.me>
<up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me>
<86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me>
<86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me>
<865xzaas3m.fsf@linuxsc.com> <upd0pj$1elmk$1@dont-email.me>
<updl0s$1i2he$3@dont-email.me> <updopb$1iv0b$1@dont-email.me>
<20240131182636.00003173@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 18:01:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a0200bb1792f9cd6df6086476ea85d9";
logging-data="1723885"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dFsn0yPFGa8fxmlQl446k"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:MIEWHo2V6O9AcHa7STtdV4gvUJc=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <20240131182636.00003173@yahoo.com>
 by: Janis Papanagnou - Wed, 31 Jan 2024 18:01 UTC

On 31.01.2024 17:26, Michael S wrote:
> On Wed, 31 Jan 2024 16:25:30 +0100
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>
>> The big advantage of non-GUI is for process automation. With GUI
>> oriented applications you can mainly only interactively (=slow and
>> cumbersome) do what it provides. Rarely GUI applications support a
>> scripting interface, and if so it's then typically some proprietary
>> non-standard language.
>
> I'd take almost any proprietary non-standard GUI macro language over
> non-proprietary non-standard tcl. They say, Lua is better. I never had
> motivation to look at it more closely.

I don't recall to have ever used tcl (maybe once, long ago?),
and I never stumbled across an application (GUI or otherwise)
where I needed scripting and it would have provided Lua. Thus
I cannot help you here, I either don't know it.

All I can say is that the Unix shell was a reliable companion
wherever we had to automate tasks on Unix systems or on Cygwin
enhanced Windows.

Janis

Re: iso646.h

<upe252$1kjiu$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32149&group=comp.lang.c#32149

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:05:22 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <upe252$1kjiu$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <up1t0r$37v5a$4@dont-email.me>
<up2mor$3bjgb$1@dont-email.me> <up2ogd$3bs86$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me> <up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com> <up4ceh$3k4b8$1@dont-email.me>
<up5fk6$3t99q$6@dont-email.me> <up5u8c$blo$1@dont-email.me>
<up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me>
<86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me>
<86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me>
<upas3j$10bft$1@dont-email.me> <upb5q3$11vej$1@dont-email.me>
<upb7ts$12b6n$1@dont-email.me> <upco3j$1db7v$7@dont-email.me>
<updiud$1hgpi$1@dont-email.me> <8734udtq3i.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 18:05:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d70fddcd7664b04dcc2a2cbefb9d341c";
logging-data="1723998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18f7CddPb0yDBXyHfc0iAdJkD3sVsHBxE0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tAcyENiPQTvm2cK3JRbKqNdT1fo=
In-Reply-To: <8734udtq3i.fsf@nosuchdomain.example.com>
Content-Language: en-GB
 by: David Brown - Wed, 31 Jan 2024 18:05 UTC

On 31/01/2024 17:38, Keith Thompson wrote:
> David Brown <david.brown@hesbynett.no> writes:
> [...]
>> However, I learned a new trick when checking that I was not mistaken
>> about this - it turns out that "less file.pdf" gives a nice text-only
>> output from the pdf file (by passing it through "lesspipe"). There's
>> always something new to learn from inane conversations on Usenet :-)
>
> It doesn't necessarily do this by default. See the documentation for
> details (which are of course off-topic here).
>

Sure - I investigated to see how it works when I saw it happening, and
there are clearly many possibilities here. But it's nice when you
discover a useful and simple feature of an everyday tool that you never
knew was there.

Re: iso646.h

<upe2gp$1kjiu$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32150&group=comp.lang.c#32150

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:11:37 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <upe2gp$1kjiu$2@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me> <87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <U98uN.131477$q3F7.52171@fx45.iad>
<upb4ng$11pmg$1@dont-email.me> <iZ8uN.374647$p%Mb.202743@fx15.iad>
<upb714$12694$1@dont-email.me> <upb9bm$12ht9$1@dont-email.me>
<upbovh$157n2$1@dont-email.me> <updkao$1i2he$2@dont-email.me>
<updmg5$1ihsr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 18:11:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d70fddcd7664b04dcc2a2cbefb9d341c";
logging-data="1723998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18NGqTarCc7mRIqKlkzbGyJkBiqXuNNgOw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xxYinWH7Sp2whewtY9aFf/Kdj0Y=
In-Reply-To: <updmg5$1ihsr$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Wed, 31 Jan 2024 18:11 UTC

On 31/01/2024 15:46, Janis Papanagnou wrote:
> On 31.01.2024 15:09, David Brown wrote:
>>
>> I would expect that the majority of uses of "cat" are with just one
>> file,
>
> And of course just because of ignorance; the majority of (but not all)
> uses with just one file are UUOCs.

I regularly see it as more symmetrical and clearer to push data left to
right. So I might write "cat infile | grep foo | sort > outfile". Of
course I could use "<" redirection, but somehow it seems more natural to
me to have this flow. I'll use "<" for simpler cases.

But perhaps this is just my habit, and makes little sense to other people.

>
>> but certainly it is useful when you want to combine files in
>> different ways.
>
> I don't know of any concatenations in "different" ways, but of course
> there's some more of the other usages that are supported by options.
>

Different orders for the files, and different subsets of the same set of
files.

Re: iso646.h

<upe2os$1kjiu$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32151&group=comp.lang.c#32151

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:15:56 +0100
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <upe2os$1kjiu$3@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me> <87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com>
<upd0pj$1elmk$1@dont-email.me> <updl0s$1i2he$3@dont-email.me>
<mBtuN.273513$Wp_8.157203@fx17.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 18:15:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d70fddcd7664b04dcc2a2cbefb9d341c";
logging-data="1723998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tlcahsO227BG1dOoU3mt48+rTOmpU4S8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:2NqLb+3Askcpodd1xbH246T29L4=
Content-Language: en-GB
In-Reply-To: <mBtuN.273513$Wp_8.157203@fx17.iad>
 by: David Brown - Wed, 31 Jan 2024 18:15 UTC

On 31/01/2024 16:22, Scott Lurndal wrote:
> David Brown <david.brown@hesbynett.no> writes:
>> On 31/01/2024 09:36, Malcolm McLean wrote:
>
>>> The reason is that I'd only run the command once, and it's so likely
>>> that there will be either a syntax misunderstanding or a typing error
>>> that I'd have to test to ensure that it was right. And by the time
>>> you've done that any time saved by typing only one commandline is lost.
>>> Of course if you are writing scripts then that doesn't apply. But now
>>> it's effectively a programming language, and, from the example code, a
>>> very poorly designed one which is cryptic and fussy and liable to be
>>> hard to maintain. So it's better to use a language like Perl to achieve
>>> the same thing, and I did have a few Perl scripts handy for repetitive
>>> jobs of that nature in my Unix days.
>>>
>>
>> That gave me a laugh! You think bash is cryptic, fussy and poorly
>> designed, and choose /Perl/ as the alternative :-)
>>
>>> You admit this with "not tested". Says it all. '"Understandig Unix" is
>>> an intellectually useless achievement. You might have to do it if you
>>> have to use the system and debug and trouble shoot. But it's nothing to
>>> be proud about.
>>>
>>
>> It is "useless" for people who don't use it. For people who /do/ use
>> it, is very useful.
>>
>> I've used sequences like Tim's - it's a way to copy data remotely from a
>> different machine. I would likely write it slightly differently - I'd
>> probably do the mkdir and cd first, thus avoiding the need for a
>> subshell, and I'd use "ssh -C" or "tar -z" to do the compression rather
>> than "gzip".
>>
>> There's no doubt that the learning curve is longer for doing this sort
>> of thing from the command line than using gui programs. There is also
>> no doubt that when you are used to it, command line utilities and a good
>> shell are very flexible and efficient.
>>
>> Learn to use the tools that are conveniently available, and then pick
>> the right tool for the job - whether it is command line or gui.
>
> And there are often more than one tool for the job. e.g. rsync(1)
> for copying data remotely.

Or sshfs then "cp -r". There's often more than two tools for the job!

Re: iso646.h

<upe310$1kjiu$4@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32152&group=comp.lang.c#32152

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:20:16 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <upe310$1kjiu$4@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me>
<87frym7l3p.fsf@nosuchdomain.example.com> <uot08a$278i2$1@dont-email.me>
<uotmed$2ack6$2@dont-email.me> <up17f9$313qt$4@dont-email.me>
<up197h$31jct$1@dont-email.me> <up1t0r$37v5a$4@dont-email.me>
<up2mor$3bjgb$1@dont-email.me> <up2ogd$3bs86$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me> <up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com> <up4ceh$3k4b8$1@dont-email.me>
<up5fk6$3t99q$6@dont-email.me> <up5u8c$blo$1@dont-email.me>
<up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me>
<86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me>
<86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me>
<865xzaas3m.fsf@linuxsc.com> <upd0pj$1elmk$1@dont-email.me>
<updl0s$1i2he$3@dont-email.me> <updopb$1iv0b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 18:20:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d70fddcd7664b04dcc2a2cbefb9d341c";
logging-data="1723998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/ntmb5kO2MPxGU477oqYqTphO2uwkKFA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:NgztPvvyS4qOhRn0zFJ5iliuUfE=
Content-Language: en-GB
In-Reply-To: <updopb$1iv0b$1@dont-email.me>
 by: David Brown - Wed, 31 Jan 2024 18:20 UTC

On 31/01/2024 16:25, Janis Papanagnou wrote:
> On 31.01.2024 15:21, David Brown wrote:
>> On 31/01/2024 09:36, Malcolm McLean wrote:
>>> [ I snipped a couple of "I actually don't know/need it" things ]
>>>
>>> But now it's effectively a programming language, and, from the example
>>> code, a very poorly designed one which is cryptic and fussy and liable
>>> to be hard to maintain. So it's better to use a language like Perl to
>>> achieve the same thing, and I did have a few Perl scripts handy for
>>> repetitive jobs of that nature in my Unix days.
>>
>> That gave me a laugh! You think bash is cryptic, fussy and poorly
>> designed, and choose /Perl/ as the alternative :-)
>
> I don't think it's that clear a joke. The Unix shell is extremely
> error prone to program, and you should not let a newbie write shell
> programs without careful supervision. ("newbie" [in shell context]
> = less than 10 years of practical experience. - Am I exaggerating?
> Maybe. But not much.)
>

I'm not a great fan of shell programming - anything advanced, and I tend
to reach for Python. But I think that is a matter of familiarity and
practice. But if you consider bash programming as difficult to get
right, I'll not argue.

Perl is famously known as a "write-only" language. Sure, it is possible
to write good, clear, maintainable Perl code - but few people do that.

Thus the idea that finding bash cryptic or difficult and using Perl
instead is the joke.

Re: iso646.h

<upe35r$1kqi7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32153&group=comp.lang.c#32153

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:22:50 +0100
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <upe35r$1kqi7$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <up3r9c$3hbk7$10@dont-email.me>
<up47gj$3jfg4$1@dont-email.me> <87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <865xzaas3m.fsf@linuxsc.com>
<20240131124332.00002c05@yahoo.com> <gDtuN.273514$Wp_8.83091@fx17.iad>
<20240131174249.00006e06@yahoo.com> <updr44$1jcmu$1@dont-email.me>
<20240131181820.00007acc@yahoo.com> <updtj6$1jqdh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 18:22:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a0200bb1792f9cd6df6086476ea85d9";
logging-data="1731143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189Swzk9uzTNfoS8sYY8J72"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:jOhhjcg5ueRrNrYT1qeCKleE8wE=
In-Reply-To: <updtj6$1jqdh$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Wed, 31 Jan 2024 18:22 UTC

On 31.01.2024 17:47, Janis Papanagnou wrote:
>
> It's just the numbers of file descriptors and whether it's an input >
> or output < channel, or even a read/write channel <> .

In case the typo wasn't obvious and detected as such, please swap them
< input
> output
<> in/out
>> append
<< here-doc
etc.

Janis

Re: iso646.h

<upe39q$1kjiu$5@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32154&group=comp.lang.c#32154

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:24:58 +0100
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <upe39q$1kjiu$5@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me>
<87frym7l3p.fsf@nosuchdomain.example.com> <uot08a$278i2$1@dont-email.me>
<uotmed$2ack6$2@dont-email.me> <up17f9$313qt$4@dont-email.me>
<up197h$31jct$1@dont-email.me> <up1t0r$37v5a$4@dont-email.me>
<up2mor$3bjgb$1@dont-email.me> <up2ogd$3bs86$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me> <up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com> <up4ceh$3k4b8$1@dont-email.me>
<up5fk6$3t99q$6@dont-email.me> <up5u8c$blo$1@dont-email.me>
<up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me>
<86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me>
<86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me>
<865xzaas3m.fsf@linuxsc.com> <upd0pj$1elmk$1@dont-email.me>
<updl0s$1i2he$3@dont-email.me> <updopb$1iv0b$1@dont-email.me>
<20240131182636.00003173@yahoo.com> <upe1tt$1kjfd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 18:24:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d70fddcd7664b04dcc2a2cbefb9d341c";
logging-data="1723998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UgtbWwLo2zKWTM8pCGSNh7QccBicXg0w="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:AKLVmt7l5dtl+xVVVkvYwNMxG6Y=
In-Reply-To: <upe1tt$1kjfd$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Wed, 31 Jan 2024 18:24 UTC

On 31/01/2024 19:01, Janis Papanagnou wrote:
> On 31.01.2024 17:26, Michael S wrote:
>> On Wed, 31 Jan 2024 16:25:30 +0100
>> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>>
>>> The big advantage of non-GUI is for process automation. With GUI
>>> oriented applications you can mainly only interactively (=slow and
>>> cumbersome) do what it provides. Rarely GUI applications support a
>>> scripting interface, and if so it's then typically some proprietary
>>> non-standard language.
>>
>> I'd take almost any proprietary non-standard GUI macro language over
>> non-proprietary non-standard tcl. They say, Lua is better. I never had
>> motivation to look at it more closely.
>
> I don't recall to have ever used tcl (maybe once, long ago?),
> and I never stumbled across an application (GUI or otherwise)
> where I needed scripting and it would have provided Lua. Thus
> I cannot help you here, I either don't know it.
>

TCL is - for reasons beyond my ken - the standard scripting language
used by several programmable logic design suites. Your code is a
mixture of VHDL and/or Verilog (and/or higher level HDL languages)
and/or schematic or block diagrams, and it goes through a range of
analysers, test simulators, placement and routing systems. There's
plenty of gui programs involved and non-gui programs, and the whole
thing is tied together with TCL scripting.

I have no idea if that's the kind of system Michael is referring to, but
it is certainly used for that kind of thing.

> All I can say is that the Unix shell was a reliable companion
> wherever we had to automate tasks on Unix systems or on Cygwin
> enhanced Windows.
>

Automation is certainly easier with good scripting - whatever the
language or shell.

Re: iso646.h

<87plxhs647.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32155&group=comp.lang.c#32155

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 10:35:52 -0800
Organization: None to speak of
Lines: 27
Message-ID: <87plxhs647.fsf@nosuchdomain.example.com>
References: <uokhnk$eiln$1@dont-email.me> <up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com>
<up4ceh$3k4b8$1@dont-email.me> <up5fk6$3t99q$6@dont-email.me>
<up5u8c$blo$1@dont-email.me> <up6655$1l8b$2@dont-email.me>
<up6b3v$2ff9$1@dont-email.me> <86zfwnc34o.fsf@linuxsc.com>
<up97vr$l025$1@dont-email.me> <86il3bb7rb.fsf@linuxsc.com>
<upaej6$u5ag$1@dont-email.me> <U98uN.131477$q3F7.52171@fx45.iad>
<upb4ng$11pmg$1@dont-email.me> <iZ8uN.374647$p%Mb.202743@fx15.iad>
<upb714$12694$1@dont-email.me> <upb9bm$12ht9$1@dont-email.me>
<upbovh$157n2$1@dont-email.me> <updkao$1i2he$2@dont-email.me>
<updmg5$1ihsr$1@dont-email.me> <upe2gp$1kjiu$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="e9ab33cd51e38659416bab92bcd2f21f";
logging-data="1731057"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/db7KHSbPyEHOXPFRax0bf"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:ICgPN07XcBPNpoT/dlEdFWqqjCc=
sha1:od+KYK2W0zpKCZG0uMbgTecrUoA=
 by: Keith Thompson - Wed, 31 Jan 2024 18:35 UTC

David Brown <david.brown@hesbynett.no> writes:
> On 31/01/2024 15:46, Janis Papanagnou wrote:
>> On 31.01.2024 15:09, David Brown wrote:
>>>
>>> I would expect that the majority of uses of "cat" are with just one
>>> file,
>> And of course just because of ignorance; the majority of (but not
>> all)
>> uses with just one file are UUOCs.
>
> I regularly see it as more symmetrical and clearer to push data left
> to right. So I might write "cat infile | grep foo | sort > outfile".
> Of course I could use "<" redirection, but somehow it seems more
> natural to me to have this flow. I'll use "<" for simpler cases.
>
> But perhaps this is just my habit, and makes little sense to other people.

You can also use:

< infile grep foo | sort > outfile

Redirections don't have to be written after a command.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: iso646.h

<upe4kg$1l2fv$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=32156&group=comp.lang.c#32156

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!nntp.comgw.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 31 Jan 2024 19:47:43 +0100
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <upe4kg$1l2fv$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me>
<87frym7l3p.fsf@nosuchdomain.example.com> <uot08a$278i2$1@dont-email.me>
<uotmed$2ack6$2@dont-email.me> <up17f9$313qt$4@dont-email.me>
<up197h$31jct$1@dont-email.me> <up1t0r$37v5a$4@dont-email.me>
<up2mor$3bjgb$1@dont-email.me> <up2ogd$3bs86$1@dont-email.me>
<up3r9c$3hbk7$10@dont-email.me> <up47gj$3jfg4$1@dont-email.me>
<87jznu1c4v.fsf@nosuchdomain.example.com> <up4ceh$3k4b8$1@dont-email.me>
<up5fk6$3t99q$6@dont-email.me> <up5u8c$blo$1@dont-email.me>
<up6655$1l8b$2@dont-email.me> <up6b3v$2ff9$1@dont-email.me>
<86zfwnc34o.fsf@linuxsc.com> <up97vr$l025$1@dont-email.me>
<86il3bb7rb.fsf@linuxsc.com> <upaej6$u5ag$1@dont-email.me>
<865xzaas3m.fsf@linuxsc.com> <20240131124332.00002c05@yahoo.com>
<upddks$1gkml$1@dont-email.me> <20240131170312.00006f30@yahoo.com>
<updshb$1jka5$1@dont-email.me> <20240131193606.00007e96@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 18:47:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a0200bb1792f9cd6df6086476ea85d9";
logging-data="1739263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jV8oT15qh+OxTMK0X245J"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:T737FveDj9x125Jc/DkVVFMfvM4=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <20240131193606.00007e96@yahoo.com>
 by: Janis Papanagnou - Wed, 31 Jan 2024 18:47 UTC

On 31.01.2024 18:36, Michael S wrote:
> On Wed, 31 Jan 2024 17:29:30 +0100
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>
>> I'm not sure why you mentioned 5, whether that's better or worse.
>> There's naturally some limit on OS level on the number of parallel
>> open file descriptors, but that limit is very high. Mind that you
>> can always close unused ones.
>
> Five of each sort, i.e. five inputs and five outputs, sound good to me.

Well, to me it sounds like an arbitrary number, like four or seven.

But how are these pre-opened FDs then used? To which devices assigned?

We already have what most folks seem to use pre-opened: 0, 1, 2

When I need a new one I couple it with an existing one

exec 3>&1 4>&1 5>&1 ## but why open it in advance per default?

or to a file (where we may have a concrete demand for a second channel)

exec 3< ./my_input
exec 4> /tmp/my_output

and still using channel 0 and 1 (here still connected to the default)
in parallel.

>
> Much more than five of each sort pre-opened by shell sound like too
> much. If there exist a need for more than five channels for
> communication between complex of programs then this complex of programs
> very likely was designed to work together and only together. And then
> any intervention of the user into communication between them will
> likely do more harm than good.
>
> Of course, I fully expect that usefully using more than three
> predefined channels of any particular direction would be very rare, but
> I still like five, or at least four, better than three.

You should have an idea, though, to what they should initially point
to, and why you want them differentiated.

>
> As to not using predefined direction and instead just providing a pool
> of up to 10 pre-open descriptors, this idea didn't cross my mind in
> those particular five minutes that I was writing my initial (yes,
> provocative, yes intentionally so) post. Right now I don't want to
> think whether I like it or not, because I see no good reasons to
> think deeply about this particular water under bridge.

I don't think I understand what you wanted to say here.
(A pool is there, the shell manages it for you.)

As an amendment, in ksh there's also the feature to not manually
assign file descriptor numbers but automatically get them from
the shell by prepending '{var}' to the redirection; here some FD
greater than 10 will be chosen by that shell and it's number
stored in 'var'. This may be useful for applications that may
e.g. serve a couple equivalent communication partners.

Janis


devel / comp.lang.c / iso646.h

Pages:1234567891011121314151617181920212223242526
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor