Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Ma Bell is a mean mother!


devel / comp.lang.c / Re: Piping to stdin

SubjectAuthor
* Piping to stdinMalcolm McLean
+* Re: Piping to stdinSpiros Bousbouras
|`* Re: Piping to stdinMalcolm McLean
| +* Re: Piping to stdinBart
| |+* Re: Piping to stdinMalcolm McLean
| ||`- Re: Piping to stdinBart
| |`- Re: Piping to stdinScott Lurndal
| +- Re: Piping to stdinScott Lurndal
| +* Re: Piping to stdinLew Pitcher
| |`* Re: Piping to stdinKaz Kylheku
| | `- Re: Piping to stdinScott Lurndal
| +* Re: Piping to stdinBen Bacarisse
| |`- Re: Piping to stdinScott Lurndal
| `* Re: Piping to stdinKenny McCormack
|  +* Re: Piping to stdinKaz Kylheku
|  |`* Re: Piping to stdinKenny McCormack
|  | `* Re: Piping to stdinKalevi Kolttonen
|  |  `* Re: Piping to stdinGary R. Schmidt
|  |   +* Re: Piping to stdinKaz Kylheku
|  |   |+- Re: Piping to stdinKeith Thompson
|  |   |+* Re: Piping to stdinRichard Kettlewell
|  |   ||+- Dealing with weird filenames (Was: Piping to stdin)Kenny McCormack
|  |   ||+* Re: Piping to stdinDavid Brown
|  |   |||+* Re: Piping to stdinRichard Harnden
|  |   ||||+- Re: Piping to stdinScott Lurndal
|  |   ||||`- Re: Piping to stdinvallor
|  |   |||`* Re: Piping to stdinRichard Kettlewell
|  |   ||| `* Re: Piping to stdinScott Lurndal
|  |   |||  +- Re: Piping to stdinKenny McCormack
|  |   |||  +- Re: Piping to stdinKeith Thompson
|  |   |||  `- Re: Piping to stdinPhil Carmody
|  |   ||`* Re: Piping to stdinJames Kuyper
|  |   || `- Re: Piping to stdinDavid Brown
|  |   |`* Re: Piping to stdinJoe Pfeiffer
|  |   | `* Re: Piping to stdinRichard Harnden
|  |   |  `- Re: Piping to stdinPhil Carmody
|  |   `* Re: Piping to stdinKalevi Kolttonen
|  |    +* Re: Piping to stdinGiovanni
|  |    |`* Re: Piping to stdinKenny McCormack
|  |    | `* Re: Piping to stdinKalevi Kolttonen
|  |    |  +* Re: Piping to stdinMuttley
|  |    |  |+* Re: Piping to stdinKalevi Kolttonen
|  |    |  ||`* Re: Piping to stdinMuttley
|  |    |  || `* Re: Piping to stdinKalevi Kolttonen
|  |    |  ||  `- Re: Piping to stdinScott Lurndal
|  |    |  |+- Re: Piping to stdinKaz Kylheku
|  |    |  |`* Re: Piping to stdinPhil Carmody
|  |    |  | `* Re: Piping to stdinMuttley
|  |    |  |  +* Re: Piping to stdinPhil Carmody
|  |    |  |  |+* Re: Piping to stdinMichael S
|  |    |  |  ||`* Re: Piping to stdinAnton Shepelev
|  |    |  |  || +- Re: Piping to stdincandycanearter07
|  |    |  |  || `- Re: Piping to stdincandycanearter07
|  |    |  |  |+* Wrecking a good thing? (Was: Piping to stdin)Kenny McCormack
|  |    |  |  ||+- Re: Wrecking a good thing?Phil Carmody
|  |    |  |  ||`- Re: Wrecking a good thing? (Was: Piping to stdin)David Brown
|  |    |  |  |+- Re: Piping to stdinMuttley
|  |    |  |  |`- Re: Piping to stdinÖö Tiib
|  |    |  |  +* Re: Piping to stdinKaz Kylheku
|  |    |  |  |+- Re: Piping to stdinMuttley
|  |    |  |  |+- Re: Piping to stdinKeith Thompson
|  |    |  |  |`- Re: Piping to stdinDavid Brown
|  |    |  |  `* Re: Piping to stdinBen Bacarisse
|  |    |  |   `* Re: Piping to stdinPhil Carmody
|  |    |  |    +* Re: Piping to stdinOğuz
|  |    |  |    |`* Re: Piping to stdinMuttley
|  |    |  |    | +* Re: Piping to stdinScott Lurndal
|  |    |  |    | |`- Re: Piping to stdinMuttley
|  |    |  |    | `* Re: Piping to stdinRainer Weikusat
|  |    |  |    |  `* What language is this? (Was: Piping to stdin)Kenny McCormack
|  |    |  |    |   `* Re: What language is this? (Was: Piping to stdin)Scott Lurndal
|  |    |  |    |    +* Re: What language is this? (Was: Piping to stdin)Kenny McCormack
|  |    |  |    |    |`* Re: What language is this?Rainer Weikusat
|  |    |  |    |    | `* Re: What language is this?Kenny McCormack
|  |    |  |    |    |  `* Re: What language is this?Rainer Weikusat
|  |    |  |    |    |   `* Re: What language is this?Kenny McCormack
|  |    |  |    |    |    `- Re: What language is this?Rainer Weikusat
|  |    |  |    |    `- Re: What language is this? (Was: Piping to stdin)Muttley
|  |    |  |    `- Re: Piping to stdinBen Bacarisse
|  |    |  +* Re: Piping to stdinPhil Carmody
|  |    |  |`* Re: Piping to stdinLew Pitcher
|  |    |  | `* Re: Piping to stdinPhil Carmody
|  |    |  |  `* Re: Piping to stdinLew Pitcher
|  |    |  |   +- Re: Piping to stdinKaz Kylheku
|  |    |  |   `- Re: Piping to stdinPhil Carmody
|  |    |  `- Re: Piping to stdinBen Bacarisse
|  |    `- Re: Piping to stdinPhil Carmody
|  `- Re: Piping to stdinNuno Silva
+* Re: Piping to stdinScott Lurndal
|`* Re: Piping to stdinKeith Thompson
| `* Re: Piping to stdinKenny McCormack
|  +* Re: Piping to stdinKaz Kylheku
|  |+- Re: Piping to stdinPhil Carmody
|  |`* Re: Piping to stdinKeith Thompson
|  | +* Re: Piping to stdinMalcolm McLean
|  | |`- Re: Piping to stdinKenny McCormack
|  | `* Re: Piping to stdinKaz Kylheku
|  |  `- Re: Piping to stdinBen Bacarisse
|  `* Re: Piping to stdinJim Jackson
|   `- Re: Piping to stdinMichael S
+- Re: Piping to stdinJohn Forkosh
`* Re: Piping to stdinKenny McCormack

Pages:12345
Wrecking a good thing? (Was: Piping to stdin)

<ubl9nc$3md6c$1@news.xmission.com>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Wrecking a good thing? (Was: Piping to stdin)
Date: Thu, 17 Aug 2023 14:09:48 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <ubl9nc$3md6c$1@news.xmission.com>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me> <87ttsxzxs7.fsf@fatphil.org>
Injection-Date: Thu, 17 Aug 2023 14:09:48 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3880140"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Thu, 17 Aug 2023 14:09 UTC

In article <87ttsxzxs7.fsf@fatphil.org>,
Phil Carmody <pc+usenet@asdf.org> wrote:
....
>> ls: h*: No such file or directory
>
>That I didn't know. Wow - if that's an actual interactive session being
>quoted, that's frightening. Thanks for reminding me why my installation
>of linux on my Apple G5 box wasn't moment too soon. How can people live
>with such wrongthink? Stockholm Syndrome?

Kinda hate to disagree with ya there, but running Linux on Apple hardware
is like buying a BMW, ripping out the engine, and changing it into a go-kart.

Now, before you think I'm some Apple Fanboy, let me assure you that just
the opposite is true. I run all Linux, but I consider it wrong to pay more
than $100 for the box upon which I run Linux. That's why I'm all Raspberry
Pi nowadays.

But if you've paid Apple's exhorbitant fee to buy their hardware, then you
might as well be running their OS. I don't want to have to dot all the I's
and cross all the T's on this, but I assume you get what I mean. If you
like Linux, you should not be paying Apple prices for your hardware.

Or, to put it another way, Apple stuff (hardware and software) is for
people who like that sort of thing. And they do indeed like it.

By the way, the car analogy is not accidental. I believe that the more you
pay for a car, the more problems you will have with it. You are literally
paying for the problems. And again, there are people who like that. So,
again, paying lots for a car is for people who like that sort of thing.
And they do indeed like it.

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/IceCream

Re: Piping to stdin

<ublago$3q43k$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kal...@kolttonen.fi (Kalevi Kolttonen)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Thu, 17 Aug 2023 14:23:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Sender: <untosten@0.0.0.0>
Message-ID: <ublago$3q43k$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au> <ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it> <ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me> <ubg8no$2t2as$1@dont-email.me> <ubksl2$3o8ao$1@dont-email.me>
Injection-Date: Thu, 17 Aug 2023 14:23:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="04f2b2260dd64959a3b64bd8404ea6aa";
logging-data="4001908"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Kb+1kA600jYdiASY2gzOl2SYaPqXOl78="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.4.10-200.fc38.x86_64 (x86_64))
Cancel-Lock: sha1:bqj24s4sp3g0YLRvCD75l6ik7cs=
 by: Kalevi Kolttonen - Thu, 17 Aug 2023 14:23 UTC

In comp.unix.programmer Muttley@dastardlyhq.com wrote:
> They both cause problems.

So do nuclear bombs and fentynyl, yet they have
not enough in common to make a sensible comparison
between them.

Similar reasoning applies to filenames with spaces
and the '-' stdin convention. Many people like
the former and are justified in doing so, but
nobody has the desire to use '-' as a filename.

I am tired of making this obvious point over and
over, so if it does not sink in now, I have to
give up.

br,
KK

Re: Piping to stdin

<ubldfs$3qles$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Thu, 17 Aug 2023 15:14:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <ubldfs$3qles$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au>
<ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it>
<ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me>
<ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org>
<ubkt02$3o9rp$1@dont-email.me>
<87ttsxzxs7.fsf@fatphil.org>
Injection-Date: Thu, 17 Aug 2023 15:14:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c22366ece291fcc511ce050dc38e085e";
logging-data="4019676"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jbKlyYsebZCsu+EqXp7pe"
Cancel-Lock: sha1:QP6sBPt4zi5ICLNuKgRMQWjDqSk=
 by: Mutt...@dastardlyhq.com - Thu, 17 Aug 2023 15:14 UTC

On Thu, 17 Aug 2023 14:57:44 +0300
Phil Carmody <pc+usenet@asdf.org> wrote:
>Muttley@dastardlyhq.com writes:
>> Apple arguably are even worse right now - case aware but case insensitive
>> unless you use wildcards on the command line when suddenly case matters
>again.
>> Hopeless.
>>
>> eg:
>> fenris$ touch HELLO
>> fenris$ ls hello
>> hello
>> fenris$ ls H*
>> HELLO
>> fenris$ ls h*
>> ls: h*: No such file or directory
>
>That I didn't know. Wow - if that's an actual interactive session being

It is, its a cut and paste from the terminal.

>quoted, that's frightening. Thanks for reminding me why my installation
>of linux on my Apple G5 box wasn't moment too soon. How can people live
>with such wrongthink? Stockholm Syndrome?

I bought a Mac because I wanted a unix box that I could just switch on and
get coding rather than mess about installing some linux distro and hope the
bits all work. Plus MacOS has a bonus of lots of high quality apps on the
App Store. Though tbh if Solaris workstations were still a thing I'd have bought
one of them instead.

Re: Piping to stdin

<ublds9$3qned$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Thu, 17 Aug 2023 15:20:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <ublds9$3qned$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au>
<ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it>
<ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me>
<ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org>
<ubkt02$3o9rp$1@dont-email.me>
<20230817065027.422@kylheku.com>
Injection-Date: Thu, 17 Aug 2023 15:20:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c22366ece291fcc511ce050dc38e085e";
logging-data="4021709"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/D8oRTpWxavmZOYlxEJlPh"
Cancel-Lock: sha1:MMXWaG2tP77B3fQUxtct9V3MQ2U=
 by: Mutt...@dastardlyhq.com - Thu, 17 Aug 2023 15:20 UTC

On Thu, 17 Aug 2023 13:52:23 -0000 (UTC)
Kaz Kylheku <864-117-4973@kylheku.com> wrote:
>On 2023-08-17, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:
>> Any character from 0-255 is allowed in unix filenames but only an idiot would
>
>> use spaces and non printing characters.
>
>That's simply false. 0 is the null terminator and is not actually part
>of the name. The path-component-separating slash cannot be contained in
>a path component; there is no escape mechanism to include it.

Ok, there are a couple of exceptions. Point still stands.

>POSIX defines a set of characters which are recommended for use in file
>names for portability; it is wise for applications and users to stick to
>that.

But they don't have to and when UTF8 filenames get used things can get messy
on non UTF8 terminals.

Re: Piping to stdin

<iZqDM.215513$uLJb.162159@fx41.iad>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.us.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.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: Piping to stdin
Newsgroups: comp.unix.programmer,comp.lang.c
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au> <ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it> <ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me> <ubg8no$2t2as$1@dont-email.me> <ubksl2$3o8ao$1@dont-email.me> <ublago$3q43k$1@dont-email.me>
Lines: 21
Message-ID: <iZqDM.215513$uLJb.162159@fx41.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 17 Aug 2023 15:25:02 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 17 Aug 2023 15:25:02 GMT
X-Received-Bytes: 1745
 by: Scott Lurndal - Thu, 17 Aug 2023 15:25 UTC

kalevi@kolttonen.fi (Kalevi Kolttonen) writes:
>In comp.unix.programmer Muttley@dastardlyhq.com wrote:
>> They both cause problems.
>
>So do nuclear bombs and fentynyl, yet they have
>not enough in common to make a sensible comparison
>between them.
>
>Similar reasoning applies to filenames with spaces
>and the '-' stdin convention. Many people like
>the former and are justified in doing so, but
>nobody has the desire to use '-' as a filename.
>
>I am tired of making this obvious point over and
>over, so if it does not sink in now, I have to
>give up.

It's like arguments about how many angels can dance
on the point of a pin - the use of a single hyphen
to denote stdin will _never_ change, it is pointless
to assume otherwise.

Re: Piping to stdin

<435f14e2-0c10-4045-b514-5a53040bad3an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:8e7:b0:635:b307:af36 with SMTP id dr7-20020a05621408e700b00635b307af36mr69qvb.7.1692287906447;
Thu, 17 Aug 2023 08:58:26 -0700 (PDT)
X-Received: by 2002:a05:6a00:2d9e:b0:688:ebc:6eaa with SMTP id
fb30-20020a056a002d9e00b006880ebc6eaamr2780593pfb.5.1692287906160; Thu, 17
Aug 2023 08:58:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.cmpublishers.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Thu, 17 Aug 2023 08:58:25 -0700 (PDT)
In-Reply-To: <87ttsxzxs7.fsf@fatphil.org>
Injection-Info: google-groups.googlegroups.com; posting-host=84.50.190.130; posting-account=pysjKgkAAACLegAdYDFznkqjgx_7vlUK
NNTP-Posting-Host: 84.50.190.130
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au> <ubg25m$2rr3g$1@dont-email.me>
<ubg4no$8kb$1@milena.home.net.it> <ubg6o7$3jrsn$1@news.xmission.com>
<ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me>
<87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me> <87ttsxzxs7.fsf@fatphil.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <435f14e2-0c10-4045-b514-5a53040bad3an@googlegroups.com>
Subject: Re: Piping to stdin
From: oot...@hot.ee (Öö Tiib)
Injection-Date: Thu, 17 Aug 2023 15:58:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4241
 by: Öö Tiib - Thu, 17 Aug 2023 15:58 UTC

On Thursday, 17 August 2023 at 14:58:01 UTC+3, Phil Carmody wrote:
> Mut...@dastardlyhq.com writes:
> > On Tue, 15 Aug 2023 23:32:22 +0300
> > Phil Carmody <pc+u...@asdf.org> wrote:
> >>Mut...@dastardlyhq.com writes:
> >>> On Tue, 15 Aug 2023 16:12:19 -0000 (UTC)
> >>> kal...@kolttonen.fi (Kalevi Kolttonen) wrote:
> >>>>Kenny McCormack <gaz...@shell.xmission.com> wrote:
> >>>>> But do they know that???
> >>>>
> >>>>"They" probably don't know it. But let's face it,
> >>>>nobody really wants to create a file having '-'
> >>>>filename on purpose. The filename is not descriptive
> >>>>at all, it would be just an insane choice for anything
> >>>>useful.
> >>>
> >>> I used to think the same thing about spaces in filenames. Then along came
> >>> Windows.
> >>
> >>Your memory if flawed. Spaces were always allowed in unix
> >>filenames. Often used to hide things in plain sight on FTP sites, for
> >>example.
> >
> > Any character from 0-255 is allowed in unix filenames but only an idiot would
> > use spaces and non printing characters.
> >
> >>MS Windows didn't allow spaces until Windows 95. I remember the Apple
> >
> > DOS didn't like filenames more than 8 characters long and required a TLA.
> > So what?
> >
> > It has become a standard in windows to use spaces in filenames no doubt due
> > to the hopeless command line interface so there was no necessity to play nice
> > with command line tools that by default use whitespace as field seperators.
> >
> >>had it on my wall at work. Not because I was an Apple fanboi, far
> >>from it, but my disdain for all things MS Windows was already
> >>entrenched, and I was being forced to use it for the not-the-actual-work
> >>part of my job (which was on Sun workstations).
> >
> > Apple arguably are even worse right now - case aware but case insensitive
> > unless you use wildcards on the command line when suddenly case matters again.
> > Hopeless.
> >
> > eg:
> > fenris$ touch HELLO
> > fenris$ ls hello
> > hello
> > fenris$ ls H*
> > HELLO
> > fenris$ ls h*
> > ls: h*: No such file or directory
>
> That I didn't know. Wow - if that's an actual interactive session being
> quoted, that's frightening. Thanks for reminding me why my installation
> of linux on my Apple G5 box wasn't moment too soon. How can people live
> with such wrongthink? Stockholm Syndrome?
>
Software developers are not humans, but engineers. Need to build for
iPhone so you use mac. Actually device itself is quite good, only the OS is bit
garbage. Mixed case sensitivity / insensitivity is "feature" of HFS+ filesystem.
Majority of software aren't made to expect something so strange. So number
of common tools can be confused. But ... confusing tools can be avoided and
pranksters calmed down.

Re: Piping to stdin

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

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Thu, 17 Aug 2023 13:43:15 -0700
Organization: None to speak of
Lines: 23
Message-ID: <87jzttjt7g.fsf@nosuchdomain.example.com>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au>
<ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it>
<ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me>
<ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org>
<ubkt02$3o9rp$1@dont-email.me> <20230817065027.422@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="b05999d425cd7ec276267a84f508b846";
logging-data="4108871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TVwf9uiffsrKMnLMWSKHu"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:cfABIRdom7jXOCrbPMvaEb4Ordk=
sha1:zcKNqF5m+pIDX5yeV8zFZJRtVFo=
 by: Keith Thompson - Thu, 17 Aug 2023 20:43 UTC

Kaz Kylheku <864-117-4973@kylheku.com> writes:
> On 2023-08-17, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:
>> Any character from 0-255 is allowed in unix filenames but only an idiot would
>> use spaces and non printing characters.
>
> That's simply false. 0 is the null terminator and is not actually part
> of the name. The path-component-separating slash cannot be contained in
> a path component; there is no escape mechanism to include it.
>
> POSIX defines a set of characters which are recommended for use in file
> names for portability; it is wise for applications and users to stick to
> that.

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_282

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z
0 1 2 3 4 5 6 7 8 9 . _ -

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Re: Piping to stdin

<87v8dde6j3.fsf@bsb.me.uk>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Thu, 17 Aug 2023 21:52:00 +0100
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <87v8dde6j3.fsf@bsb.me.uk>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au>
<ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it>
<ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me>
<ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org>
<ubkt02$3o9rp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="c666b555a840b444cd6c032219f8b5e7";
logging-data="4118863"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rOHZPMo+nttocAy36PGVDcxfIzlVX16M="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:mZ6j1rJ2fNxzrV37lcvS4fJEgWE=
sha1:CkvQHq3I8uHjXbO/TRQET4xCTT4=
X-BSB-Auth: 1.ef06b4393aae2f66ac13.20230817215200BST.87v8dde6j3.fsf@bsb.me.uk
 by: Ben Bacarisse - Thu, 17 Aug 2023 20:52 UTC

Muttley@dastardlyhq.com writes:

> On Tue, 15 Aug 2023 23:32:22 +0300
> Phil Carmody <pc+usenet@asdf.org> wrote:
>>Muttley@dastardlyhq.com writes:
>>> On Tue, 15 Aug 2023 16:12:19 -0000 (UTC)
>>> kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>>>>Kenny McCormack <gazelle@shell.xmission.com> wrote:
>>>>> But do they know that???
>>>>
>>>>"They" probably don't know it. But let's face it,
>>>>nobody really wants to create a file having '-'
>>>>filename on purpose. The filename is not descriptive
>>>>at all, it would be just an insane choice for anything
>>>>useful.
>>>
>>> I used to think the same thing about spaces in filenames. Then along came
>>> Windows.
>>
>>Your memory if flawed. Spaces were always allowed in unix
>>filenames. Often used to hide things in plain sight on FTP sites, for
>>example.
>
> Any character from 0-255 is allowed in unix filenames but only an idiot would
> use spaces and non printing characters.

To some extent it depends on the file system, and to some extent it's
down to the kernel, but I don't know of any Unix/FS combination that
permits 0 (null) bytes in file names. I can't see how it could work.

And almost all file systems will prohibit the use of / in a file name,
though I've heard you can trick NFS into taking it.

Some file systems (depending on mount options) can have complex rules
such as rejecting any name with an invalid UTF-8 sequence.

--
Ben.

Re: Wrecking a good thing?

<87edk1z6uh.fsf@fatphil.org>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pc+use...@asdf.org (Phil Carmody)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Wrecking a good thing?
Date: Fri, 18 Aug 2023 00:39:34 +0300
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <87edk1z6uh.fsf@fatphil.org>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me>
<87ttsxzxs7.fsf@fatphil.org> <ubl9nc$3md6c$1@news.xmission.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="c5ae6d758bdcdf7c941356aad3a595c3";
logging-data="4134452"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ApoB1G5e//Z3OHN2Lw69R"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Cancel-Lock: sha1:aDN3qEQAu7RqFQhuXJzu3CwSJRI=
sha1:lrScRFJrDHwkhuqWEKO3EwV33pQ=
 by: Phil Carmody - Thu, 17 Aug 2023 21:39 UTC

gazelle@shell.xmission.com (Kenny McCormack) writes:
> In article <87ttsxzxs7.fsf@fatphil.org>,
> Phil Carmody <pc+usenet@asdf.org> wrote:
> ...
>>> ls: h*: No such file or directory
>>
>>That I didn't know. Wow - if that's an actual interactive session being
>>quoted, that's frightening. Thanks for reminding me why my installation
>>of linux on my Apple G5 box wasn't moment too soon. How can people live
>>with such wrongthink? Stockholm Syndrome?
>
> Kinda hate to disagree with ya there, but running Linux on Apple hardware
> is like buying a BMW, ripping out the engine, and changing it into a go-kart.
>
> Now, before you think I'm some Apple Fanboy, let me assure you that just
> the opposite is true. I run all Linux, but I consider it wrong to pay more
> than $100 for the box upon which I run Linux. That's why I'm all Raspberry
> Pi nowadays.
>
> But if you've paid Apple's exhorbitant fee to buy their hardware, then you
> might as well be running their OS.

Hahahah. Nah, never paid a penny. It was a "sponsorship" from Apple.
Top of the range kit at the time too. All I had to do was write fast
code and not insult them in public. Managed for several years.

Oh - my code ran faster under linux than OSX. The apple compiler seemed
to never want to use all 32 of the FP registers (and, more bizarrely,
the register it would mysteriously forget existed wasn't always the same
one). I later worked for Freescale and had access to their internal
tools, and could see how good or bad a job the various compilers were at
keeping the pipelines full, and it was clear that Apple weren't as smart
as they thought they were.

Phil
--
We are no longer hunters and nomads. No longer awed and frightened, as we have
gained some understanding of the world in which we live. As such, we can cast
aside childish remnants from the dawn of our civilization.
-- NotSanguine on SoylentNews, after Eugen Weber in /The Western Tradition/

Re: Wrecking a good thing? (Was: Piping to stdin)

<ubncuh$6v6k$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Wrecking a good thing? (Was: Piping to stdin)
Date: Fri, 18 Aug 2023 11:17:04 +0200
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <ubncuh$6v6k$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me>
<87ttsxzxs7.fsf@fatphil.org> <ubl9nc$3md6c$1@news.xmission.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 18 Aug 2023 09:17:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="381304563337f5ecb99f8cbb76e1032f";
logging-data="228564"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UbjgzKH/pkXkrfA2Wnr8gnUHQlI3Y4Gw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:7VHV1HjQWM1GE2ZN54Jg40sZiPk=
Content-Language: en-GB
In-Reply-To: <ubl9nc$3md6c$1@news.xmission.com>
 by: David Brown - Fri, 18 Aug 2023 09:17 UTC

On 17/08/2023 16:09, Kenny McCormack wrote:
> In article <87ttsxzxs7.fsf@fatphil.org>,
> Phil Carmody <pc+usenet@asdf.org> wrote:
> ...
>>> ls: h*: No such file or directory
>>
>> That I didn't know. Wow - if that's an actual interactive session being
>> quoted, that's frightening. Thanks for reminding me why my installation
>> of linux on my Apple G5 box wasn't moment too soon. How can people live
>> with such wrongthink? Stockholm Syndrome?
>
> Kinda hate to disagree with ya there, but running Linux on Apple hardware
> is like buying a BMW, ripping out the engine, and changing it into a go-kart.
>
> Now, before you think I'm some Apple Fanboy, let me assure you that just
> the opposite is true. I run all Linux, but I consider it wrong to pay more
> than $100 for the box upon which I run Linux. That's why I'm all Raspberry
> Pi nowadays.
>
> But if you've paid Apple's exhorbitant fee to buy their hardware, then you
> might as well be running their OS. I don't want to have to dot all the I's
> and cross all the T's on this, but I assume you get what I mean. If you
> like Linux, you should not be paying Apple prices for your hardware.
>
> Or, to put it another way, Apple stuff (hardware and software) is for
> people who like that sort of thing. And they do indeed like it.
>

I disagree completely.

Apple made good quality hardware, with a style that many people like.
(I personally do not, and have never owned anything Apple.) Sure, you
pay a premium for it, but that's the case for a lot of hardware - if you
draw a graph of processor speed against processor price, you'll easily
see a point where you pay a lot of extra cash for a very small increase
in price. Yet for some people, that large increase is worth it.

So your Apple hardware might be twice the price for a 10% thinner and
lighter laptop. But if that's what you want, go for it - just as it is
fine to want far lower prices and accept slower or weaker hardware.

Then if someone decides that they want the Apple hardware, they've got
the money, they have no moral qualms about paying the high markup Apple
charges (some people have strong opinions about that kind of thing),
that's fine - they've bought the Apple hardware.

And if they decide that they prefer Linux (or Windows) to MacOS, then
installing their preferred system makes the system better - it increases
the value to them. It would be absurd to use an OS that is inferior (at
least in that person's view) just because they had paid for it! You
would not expect a Linux fan to use the Windows installation that comes
with most off-the-shelf PC's - why would you expect them to use MacOS ?

Case in point - Linus Torvalds used a MacBook running Linux as his main
PC for a while, because the hardware (the screen in particular) was
better than alternative laptops.

Re: Piping to stdin

<ubndk1$71ua$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Fri, 18 Aug 2023 11:28:33 +0200
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <ubndk1$71ua$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au> <ubg25m$2rr3g$1@dont-email.me>
<ubg4no$8kb$1@milena.home.net.it> <ubg6o7$3jrsn$1@news.xmission.com>
<ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me>
<87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me>
<20230817065027.422@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 18 Aug 2023 09:28:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="381304563337f5ecb99f8cbb76e1032f";
logging-data="231370"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/B4CBtm+P7lx4l04uQy8UhLNIrp1MvHSk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:urEA2cj6JRutNZIzQI/yu8RzNWk=
Content-Language: en-GB
In-Reply-To: <20230817065027.422@kylheku.com>
 by: David Brown - Fri, 18 Aug 2023 09:28 UTC

On 17/08/2023 15:52, Kaz Kylheku wrote:
> On 2023-08-17, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:
>> Any character from 0-255 is allowed in unix filenames but only an idiot would
>> use spaces and non printing characters.

Only an idiot would think one rule fits all use-cases.

>
> That's simply false. 0 is the null terminator and is not actually part
> of the name. The path-component-separating slash cannot be contained in
> a path component; there is no escape mechanism to include it.
>
> POSIX defines a set of characters which are recommended for use in file
> names for portability; it is wise for applications and users to stick to
> that.
>

It is even wiser to use characters that are appropriate for the task in
hand.

If you are making software that will be shared amongst a wide variety of
systems, stick to ASCII letters, digits, and underscore - that will work
on everything, including Windows.

If you are writing a document in Thai that will be read by Thai speakers
on Thai computers, name the document in Thai using Thai script.

It's not hard to handle "complicated" filenames from the command line,
outside a few pathological cases (like "-"). Sensible filenames are
fine, even with spaces, brackets, or non-ASCII letters. If those
features are helpful to the main use of the names for the files in
question, use them. If they are unhelpful, don't use them.

Thus it makes sense to avoid inconvenient characters in the names and
paths of programs, and you'll very rarely want them in program source
code names or directories. But they are common and useful for things
like document filenames.

Re: Piping to stdin

<87wmxr9v9l.fsf@fatphil.org>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pc+use...@asdf.org (Phil Carmody)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Sat, 19 Aug 2023 13:33:26 +0300
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <87wmxr9v9l.fsf@fatphil.org>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au>
<ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it>
<ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me>
<ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org>
<ubkt02$3o9rp$1@dont-email.me> <87v8dde6j3.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="532b4e497655feb7d6e77642e85bd4ce";
logging-data="821246"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sBdPXEyGG/5qMrjiCqKkV"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Cancel-Lock: sha1:nvAtb7x8jTkQEJ/4JkbLgBX4PdA=
sha1:MkEEP4B7dQw1QEwCPktbK5FQqgU=
 by: Phil Carmody - Sat, 19 Aug 2023 10:33 UTC

Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
> Some file systems (depending on mount options) can have complex rules
> such as rejecting any name with an invalid UTF-8 sequence.

Oooh, now I'm tempted to name files in Latin-1, to deliberately break
filesystems that make such assumptions!

Phil
--
We are no longer hunters and nomads. No longer awed and frightened, as we have
gained some understanding of the world in which we live. As such, we can cast
aside childish remnants from the dawn of our civilization.
-- NotSanguine on SoylentNews, after Eugen Weber in /The Western Tradition/

Re: Piping to stdin

<ubqf9k$r2ol$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: oguzisma...@gmail.com (Oğuz)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Sat, 19 Aug 2023 16:15:32 +0300
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <ubqf9k$r2ol$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au> <ubg25m$2rr3g$1@dont-email.me>
<ubg4no$8kb$1@milena.home.net.it> <ubg6o7$3jrsn$1@news.xmission.com>
<ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me>
<87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me>
<87v8dde6j3.fsf@bsb.me.uk> <87wmxr9v9l.fsf@fatphil.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 19 Aug 2023 13:15:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2c2a0a4f3182506ff072ef599d326cf6";
logging-data="887573"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CeYiEUM+gaazgReyLvmdypN6sM3OudD4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:YIc5/CNjz49CDdTz5AZOXmEWlHc=
Content-Language: en-US
In-Reply-To: <87wmxr9v9l.fsf@fatphil.org>
 by: Oğuz - Sat, 19 Aug 2023 13:15 UTC

On 8/19/23 1:33 PM, Phil Carmody wrote:
> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>> Some file systems (depending on mount options) can have complex rules
>> such as rejecting any name with an invalid UTF-8 sequence.
>
> Oooh, now I'm tempted to name files in Latin-1, to deliberately break
> filesystems that make such assumptions!
Be careful with that attitude. The "memory-safe" sudo replacement
doesn't support non-UTF-8 input either:

https://github.com/memorysafety/sudo-rs/issues/213

Re: Piping to stdin

<ubqkn7$skrr$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Sat, 19 Aug 2023 14:48:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <ubqkn7$skrr$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au> <ubg25m$2rr3g$1@dont-email.me>
<ubg4no$8kb$1@milena.home.net.it> <ubg6o7$3jrsn$1@news.xmission.com>
<ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me>
<87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me>
<87v8dde6j3.fsf@bsb.me.uk> <87wmxr9v9l.fsf@fatphil.org>
<ubqf9k$r2ol$1@dont-email.me>
Injection-Date: Sat, 19 Aug 2023 14:48:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d43f0aa88eeb6b065a9c586d80e864a";
logging-data="938875"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xQ9DS8H4RUKwDXYMmXCFA"
Cancel-Lock: sha1:2E2umxBGX1c7r1QJeyprZwJn310=
 by: Mutt...@dastardlyhq.com - Sat, 19 Aug 2023 14:48 UTC

On Sat, 19 Aug 2023 16:15:32 +0300
=?UTF-8?B?T8SfdXo=?= <oguzismailuysal@gmail.com> wrote:
>On 8/19/23 1:33 PM, Phil Carmody wrote:
>> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>>> Some file systems (depending on mount options) can have complex rules
>>> such as rejecting any name with an invalid UTF-8 sequence.
>>
>> Oooh, now I'm tempted to name files in Latin-1, to deliberately break
>> filesystems that make such assumptions!
>Be careful with that attitude. The "memory-safe" sudo replacement
>doesn't support non-UTF-8 input either:

Whats memory unsafe about sudo?

Re: Piping to stdin

<87v8davlg1.fsf@bsb.me.uk>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Followup: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Followup-To: comp.unix.programmer
Date: Sat, 19 Aug 2023 21:14:38 +0100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <87v8davlg1.fsf@bsb.me.uk>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au>
<ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it>
<ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me>
<ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org>
<ubkt02$3o9rp$1@dont-email.me> <87v8dde6j3.fsf@bsb.me.uk>
<87wmxr9v9l.fsf@fatphil.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="3fc15511aac7d6a52e9762e8994bb691";
logging-data="1058273"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18m0sXSX43bBOAHfaGwiROdruueNEQA8JE="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:GAb+2l2vi/s8h1Wp+BnbF6jYE+U=
sha1:0FlnYpH32sFxZKuqAVLWmign3RY=
X-BSB-Auth: 1.1b6ef16e9e364dd6928e.20230819211438BST.87v8davlg1.fsf@bsb.me.uk
 by: Ben Bacarisse - Sat, 19 Aug 2023 20:14 UTC

Phil Carmody <pc+usenet@asdf.org> writes:

> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>> Some file systems (depending on mount options) can have complex rules
>> such as rejecting any name with an invalid UTF-8 sequence.
>
> Oooh, now I'm tempted to name files in Latin-1, to deliberately break
> filesystems that make such assumptions!

Why?

--
Ben.

Re: Piping to stdin

<y%rEM.716067$AsA.587368@fx18.iad>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx18.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: Piping to stdin
Newsgroups: comp.unix.programmer,comp.lang.c
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au> <ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it> <ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me> <87v8dde6j3.fsf@bsb.me.uk> <87wmxr9v9l.fsf@fatphil.org> <ubqf9k$r2ol$1@dont-email.me> <ubqkn7$skrr$1@dont-email.me>
Lines: 16
Message-ID: <y%rEM.716067$AsA.587368@fx18.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Sun, 20 Aug 2023 17:24:46 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Sun, 20 Aug 2023 17:24:46 GMT
X-Received-Bytes: 1820
 by: Scott Lurndal - Sun, 20 Aug 2023 17:24 UTC

Muttley@dastardlyhq.com writes:
>On Sat, 19 Aug 2023 16:15:32 +0300
>=?UTF-8?B?T8SfdXo=?= <oguzismailuysal@gmail.com> wrote:
>>On 8/19/23 1:33 PM, Phil Carmody wrote:
>>> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>>>> Some file systems (depending on mount options) can have complex rules
>>>> such as rejecting any name with an invalid UTF-8 sequence.
>>>
>>> Oooh, now I'm tempted to name files in Latin-1, to deliberately break
>>> filesystems that make such assumptions!
>>Be careful with that attitude. The "memory-safe" sudo replacement
>>doesn't support non-UTF-8 input either:
>
>Whats memory unsafe about sudo?
>
https://www.cisa.gov/news-events/alerts/2021/02/02/sudo-heap-based-buffer-overflow-vulnerability-cve-2021-3156

Re: Piping to stdin

<ubtp4d$1gqlu$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Sun, 20 Aug 2023 19:21:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <ubtp4d$1gqlu$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au> <ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it> <ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org> <ubkt02$3o9rp$1@dont-email.me> <87v8dde6j3.fsf@bsb.me.uk> <87wmxr9v9l.fsf@fatphil.org> <ubqf9k$r2ol$1@dont-email.me> <ubqkn7$skrr$1@dont-email.me> <y%rEM.716067$AsA.587368@fx18.iad>
Injection-Date: Sun, 20 Aug 2023 19:21:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="affaeae6a3f1c9c758234d6b2ef0cd83";
logging-data="1600190"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vHR7kYEseRtDQHa0NV2N5"
Cancel-Lock: sha1:SiN0CQGZDKqtwMxlah2eI06R71E=
 by: Mutt...@dastardlyhq.com - Sun, 20 Aug 2023 19:21 UTC

On Sun, 20 Aug 2023 17:24:46 GMT
scott@slp53.sl.home (Scott Lurndal) wrote:
>Muttley@dastardlyhq.com writes:
>>On Sat, 19 Aug 2023 16:15:32 +0300
>>=?UTF-8?B?T8SfdXo=?= <oguzismailuysal@gmail.com> wrote:
>>>On 8/19/23 1:33 PM, Phil Carmody wrote:
>>>> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>>>>> Some file systems (depending on mount options) can have complex rules
>>>>> such as rejecting any name with an invalid UTF-8 sequence.
>>>>
>>>> Oooh, now I'm tempted to name files in Latin-1, to deliberately break
>>>> filesystems that make such assumptions!
>>>Be careful with that attitude. The "memory-safe" sudo replacement
>>>doesn't support non-UTF-8 input either:
>>
>>Whats memory unsafe about sudo?
>>
>https://www.cisa.gov/news-events/alerts/2021/02/02/sudo-heap-based-buffer-overf
>low-vulnerability-cve-2021-3156

One bug in one version doesn't make it generally unsafe.

Re: Piping to stdin

<87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rweiku...@talktalk.net (Rainer Weikusat)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: Piping to stdin
Date: Sun, 20 Aug 2023 21:57:30 +0100
Lines: 19
Message-ID: <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<vo5rqj-lpl.ln1@paranoia.mcleod-schmidt.id.au>
<ubg25m$2rr3g$1@dont-email.me> <ubg4no$8kb$1@milena.home.net.it>
<ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me>
<ubg8a8$2t20l$1@dont-email.me> <87o7j82gix.fsf@fatphil.org>
<ubkt02$3o9rp$1@dont-email.me> <87v8dde6j3.fsf@bsb.me.uk>
<87wmxr9v9l.fsf@fatphil.org> <ubqf9k$r2ol$1@dont-email.me>
<ubqkn7$skrr$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net FE3vaN8ro92Vk4mp2Y3rsw7u3Zw3p0FLNu3/NLPuokaqntwgs=
Cancel-Lock: sha1:vMNUFk/HMAY+D9LVtFapC31uWiQ= sha1:3fdbvnTp2WbJ1K4V9X0M7jyI8vE= sha256:dCuEMujzRJ+HsObxoGMZlbnJor6U6lG8vtIzpxvLsP0=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
 by: Rainer Weikusat - Sun, 20 Aug 2023 20:57 UTC

Muttley@dastardlyhq.com writes:
> On Sat, 19 Aug 2023 16:15:32 +0300
> =?UTF-8?B?T8SfdXo=?= <oguzismailuysal@gmail.com> wrote:
>>On 8/19/23 1:33 PM, Phil Carmody wrote:
>>> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>>>> Some file systems (depending on mount options) can have complex rules
>>>> such as rejecting any name with an invalid UTF-8 sequence.
>>>
>>> Oooh, now I'm tempted to name files in Latin-1, to deliberately break
>>> filesystems that make such assumptions!
>>Be careful with that attitude. The "memory-safe" sudo replacement
>>doesn't support non-UTF-8 input either:
>
> Whats memory unsafe about sudo?

It's not written in a language whose extremely complicate runtime system
that's conjectured to be bug free in this respect by Really Wishful
Thinking[tm] is supposed to prevent simple memory access errors C
supports.

What language is this? (Was: Piping to stdin)

<ubu4cd$3qqvc$1@news.xmission.com>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: What language is this? (Was: Piping to stdin)
Date: Sun, 20 Aug 2023 22:33:49 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <ubu4cd$3qqvc$1@news.xmission.com>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <ubqf9k$r2ol$1@dont-email.me> <ubqkn7$skrr$1@dont-email.me> <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>
Injection-Date: Sun, 20 Aug 2023 22:33:49 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="4025324"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Sun, 20 Aug 2023 22:33 UTC

In article <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>,
Rainer Weikusat <rweikusat@talktalk.net> wrote:
....
>It's not written in a language whose extremely complicate runtime
>system that's conjectured to be bug free in this respect by Really
>Wishful Thinking[tm] is supposed to prevent simple memory access errors
>C supports.

What language was this quoted paragraph written in?

Preumably one in which word order doesn't matter.

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/Reaganomics

Re: What language is this? (Was: Piping to stdin)

<g3zEM.718458$AsA.196497@fx18.iad>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx18.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: What language is this? (Was: Piping to stdin)
Newsgroups: comp.unix.programmer,comp.lang.c
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <ubqf9k$r2ol$1@dont-email.me> <ubqkn7$skrr$1@dont-email.me> <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com> <ubu4cd$3qqvc$1@news.xmission.com>
Lines: 17
Message-ID: <g3zEM.718458$AsA.196497@fx18.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 21 Aug 2023 01:26:36 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 21 Aug 2023 01:26:36 GMT
X-Received-Bytes: 1583
 by: Scott Lurndal - Mon, 21 Aug 2023 01:26 UTC

gazelle@shell.xmission.com (Kenny McCormack) writes:
>In article <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>,
>Rainer Weikusat <rweikusat@talktalk.net> wrote:
>...
>>It's not written in a language whose extremely complicate runtime
>>system that's conjectured to be bug free in this respect by Really
>>Wishful Thinking[tm] is supposed to prevent simple memory access errors
>>C supports.
>
>What language was this quoted paragraph written in?
>
>Preumably one in which word order doesn't matter.

Word order in German and English don't always agree.

Basically he is saying, somewhat mockingly, that because it is
not written in Rust, sudo written in C is inherently memory unsafe.

Re: What language is this? (Was: Piping to stdin)

<ubujqh$3r3b4$1@news.xmission.com>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: What language is this? (Was: Piping to stdin)
Date: Mon, 21 Aug 2023 02:57:21 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <ubujqh$3r3b4$1@news.xmission.com>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com> <ubu4cd$3qqvc$1@news.xmission.com> <g3zEM.718458$AsA.196497@fx18.iad>
Injection-Date: Mon, 21 Aug 2023 02:57:21 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="4033892"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Mon, 21 Aug 2023 02:57 UTC

In article <g3zEM.718458$AsA.196497@fx18.iad>,
Scott Lurndal <slp53@pacbell.net> wrote:
>gazelle@shell.xmission.com (Kenny McCormack) writes:
>>In article <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>,
>>Rainer Weikusat <rweikusat@talktalk.net> wrote:
>>...
>>>It's not written in a language whose extremely complicate runtime
>>>system that's conjectured to be bug free in this respect by Really
>>>Wishful Thinking[tm] is supposed to prevent simple memory access errors
>>>C supports.
>>
>>What language was this quoted paragraph written in?
>>
>>Preumably one in which word order doesn't matter.
>
>Word order in German and English don't always agree.
>
>Basically he is saying, somewhat mockingly, that because it is
>not written in Rust, sudo written in C is inherently memory unsafe.

OK, thanks.

I am glad that you were able to intuit that "Rust" was "the other language"
involved in the comparison.

--
They say compassion is a virtue, but I don't have the time!

- David Byrne -

Re: What language is this? (Was: Piping to stdin)

<ubv1er$1pvkr$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: What language is this? (Was: Piping to stdin)
Date: Mon, 21 Aug 2023 06:50:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <ubv1er$1pvkr$1@dont-email.me>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <ubqf9k$r2ol$1@dont-email.me> <ubqkn7$skrr$1@dont-email.me> <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com> <ubu4cd$3qqvc$1@news.xmission.com> <g3zEM.718458$AsA.196497@fx18.iad>
Injection-Date: Mon, 21 Aug 2023 06:50:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fda3c9894a8af2ff94db8756b8e459c1";
logging-data="1900187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XFtWoYJvRI9TBKrVBGZWW"
Cancel-Lock: sha1:52cRRhsQ27GSFB0iWa8Z1+AJxBE=
 by: Mutt...@dastardlyhq.com - Mon, 21 Aug 2023 06:50 UTC

On Mon, 21 Aug 2023 01:26:36 GMT
scott@slp53.sl.home (Scott Lurndal) wrote:
>gazelle@shell.xmission.com (Kenny McCormack) writes:
>>In article <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>,
>>Rainer Weikusat <rweikusat@talktalk.net> wrote:
>>...
>>>It's not written in a language whose extremely complicate runtime
>>>system that's conjectured to be bug free in this respect by Really
>>>Wishful Thinking[tm] is supposed to prevent simple memory access errors
>>>C supports.
>>
>>What language was this quoted paragraph written in?
>>
>>Preumably one in which word order doesn't matter.
>
>Word order in German and English don't always agree.
>
>Basically he is saying, somewhat mockingly, that because it is
>not written in Rust, sudo written in C is inherently memory unsafe.

To do anything low level Rust has to disable memory protection (or whatever
they call it) anyway, so its no safer than C/C++ in these circumstances.

Re: What language is this?

<87v8d8jrpo.fsf@doppelsaurus.mobileactivedefense.com>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rweiku...@talktalk.net (Rainer Weikusat)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: What language is this?
Date: Mon, 21 Aug 2023 17:16:51 +0100
Lines: 38
Message-ID: <87v8d8jrpo.fsf@doppelsaurus.mobileactivedefense.com>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>
<ubu4cd$3qqvc$1@news.xmission.com> <g3zEM.718458$AsA.196497@fx18.iad>
<ubujqh$3r3b4$1@news.xmission.com>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net AVzPZp3NtuCDTZjMZ7vveQAmGgED5f8yHDNnkwVMY3hUPzsNU=
Cancel-Lock: sha1:WX9Z9707uG1KlHgTOqvfu9YV+nQ= sha1:kk/JJHdIdRNZNp7rgYN3Uqaxy/8= sha256:Xx/FGqiRfCwX8CbBhoim8xSVPYkmqLF36Vct8AjZG0Q=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
 by: Rainer Weikusat - Mon, 21 Aug 2023 16:16 UTC

gazelle@shell.xmission.com (Kenny McCormack) writes:
> In article <g3zEM.718458$AsA.196497@fx18.iad>,
> Scott Lurndal <slp53@pacbell.net> wrote:
>>gazelle@shell.xmission.com (Kenny McCormack) writes:
>>>In article <87lee55t51.fsf@doppelsaurus.mobileactivedefense.com>,
>>>Rainer Weikusat <rweikusat@talktalk.net> wrote:
>>>...
>>>>It's not written in a language whose extremely complicate runtime
>>>>system that's conjectured to be bug free in this respect by Really
>>>>Wishful Thinking[tm] is supposed to prevent simple memory access errors
>>>>C supports.
>>>
>>>What language was this quoted paragraph written in?
>>>
>>>Preumably one in which word order doesn't matter.
>>
>>Word order in German and English don't always agree.
>>
>>Basically he is saying, somewhat mockingly, that because it is
>>not written in Rust, sudo written in C is inherently memory unsafe.
>
> OK, thanks.
>
> I am glad that you were able to intuit that "Rust" was "the other language"
> involved in the comparison.

That's pretty obvious from the

,----
| Be careful with that attitude. The "memory-safe" sudo replacement
| doesn't support non-UTF-8 input either:
|
| https://github.com/memorysafety/sudo-rs/issues/213
`----

upthread. Rust is conjectured to be memory safe because people using it
really want to believe that the Rust runtime - some orders of magnitude
more complicated than a real lot of C programs - has not such bugs.

Re: What language is this?

<uc0cqr$3rv8t$2@news.xmission.com>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: What language is this?
Date: Mon, 21 Aug 2023 19:10:19 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <uc0cqr$3rv8t$2@news.xmission.com>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <g3zEM.718458$AsA.196497@fx18.iad> <ubujqh$3r3b4$1@news.xmission.com> <87v8d8jrpo.fsf@doppelsaurus.mobileactivedefense.com>
Injection-Date: Mon, 21 Aug 2023 19:10:19 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="4062493"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Mon, 21 Aug 2023 19:10 UTC

In article <87v8d8jrpo.fsf@doppelsaurus.mobileactivedefense.com>,
Rainer Weikusat <rweikusat@talktalk.net> wrote:
....
>,----
>| Be careful with that attitude. The "memory-safe" sudo replacement
>| doesn't support non-UTF-8 input either:
>|
>| https://github.com/memorysafety/sudo-rs/issues/213
>`----

That URL means nothing to me. But that's just me. Don't take it
personally.

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/Seriously

Re: What language is this?

<87r0nwjios.fsf@doppelsaurus.mobileactivedefense.com>

  copy mid

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

  copy link   Newsgroups: comp.unix.programmer comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rweiku...@talktalk.net (Rainer Weikusat)
Newsgroups: comp.unix.programmer,comp.lang.c
Subject: Re: What language is this?
Date: Mon, 21 Aug 2023 20:31:47 +0100
Lines: 25
Message-ID: <87r0nwjios.fsf@doppelsaurus.mobileactivedefense.com>
References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com>
<g3zEM.718458$AsA.196497@fx18.iad> <ubujqh$3r3b4$1@news.xmission.com>
<87v8d8jrpo.fsf@doppelsaurus.mobileactivedefense.com>
<uc0cqr$3rv8t$2@news.xmission.com>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net uAkG3v9m5a053LKd4EOsIgKTKb4bJ3vJP+ohZXO8CDQxXHdNw=
Cancel-Lock: sha1:10BYB1tbuQ9/JztNLfCUvO4vfqk= sha1:xk3C7IV/KegFR+6Z3HeKDwXFBGo= sha256:jeDMNvzRCfwGNayTFIezB3N4TShFBhbKpu3d1tzOTXA=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
 by: Rainer Weikusat - Mon, 21 Aug 2023 19:31 UTC

gazelle@shell.xmission.com (Kenny McCormack) writes:
> In article <87v8d8jrpo.fsf@doppelsaurus.mobileactivedefense.com>,
> Rainer Weikusat <rweikusat@talktalk.net> wrote:
> ...
>>,----
>>| Be careful with that attitude. The "memory-safe" sudo replacement
>>| doesn't support non-UTF-8 input either:
>>|
>>| https://github.com/memorysafety/sudo-rs/issues/213
>>`----
>
> That URL means nothing to me. But that's just me. Don't take it
> personally.

In this case, I suggest one of two options

1) You'll try to memorize that rs commonly means Rust. Eg, it's usually
the extension used for Rust source files.

2) You'll ask your full-time carer to click on the link for you and read
the content of the page to you.

In either case, posting more lame flames into this groups for no
conceivable reason is not going to improve your understanding of
anything.


devel / comp.lang.c / Re: Piping to stdin

Pages:12345
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor