Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Don't Worry, Be Happy. -- Meher Baba


comp / comp.os.linux.misc / Re: The joy of pipes

SubjectAuthor
* The joy of octalChris Ahlstrom
`* Re: The joy of octalJohn Ames
 `* Re: The joy of octalChris Ahlstrom
  `* Re: The joy of octalLouis Krupp
   +* Re: The joy of octalChris Ahlstrom
   |`* Re: The joy of EBCDICJohn Ames
   | +* Re: The joy of EBCDICCharlie Gibbs
   | |`* Re: The joy of EBCDICChris Ahlstrom
   | | `* Re: The joy of EBCDICcandycanearter07
   | |  `- Re: The joy of EBCDICChris Ahlstrom
   | `* Re: The joy of EBCDICFritz Wuehler
   |  `* Re: The joy of EBCDICClemens Schüller
   |   `* Re: The joy of EBCDICEli the Bearded
   |    +* Re: The joy of pipesJohn Ames
   |    |+* Re: The joy of pipesLawrence D'Oliveiro
   |    ||`* Re: The joy of pipes186282@ud0s4.net
   |    || +- Re: The joy of pipesJohn Ames
   |    || +- Re: The joy of pipesLawrence D'Oliveiro
   |    || +* Re: The joy of pipesRobert Riches
   |    || |`- Re: The joy of pipesLawrence D'Oliveiro
   |    || +* Re: The joy of pipes186282@ud0s4.net
   |    || |`* Re: The joy of pipesrbowman
   |    || | +* Re: The joy of pipes186282@ud0s4.net
   |    || | |`* Re: The joy of pipesCharlie Gibbs
   |    || | | `- Re: The joy of pipes186282@ud0s4.net
   |    || | `- Re: The joy of pipesCharlie Gibbs
   |    || `* Re: The joy of pipesRichard Kettlewell
   |    ||  `* Re: The joy of pipes186282@ud0s4.net
   |    ||   +* Re: The joy of pipesLawrence D'Oliveiro
   |    ||   |`* Re: The joy of pipes186282@ud0s4.net
   |    ||   | `* Re: The joy of pipesLawrence D'Oliveiro
   |    ||   |  `- Re: The joy of pipes186282@ud0s4.net
   |    ||   `* Re: The joy of pipesRichard Kettlewell
   |    ||    `* Re: The joy of pipes186282@ud0s4.net
   |    ||     +* Re: The joy of pipesLawrence D'Oliveiro
   |    ||     |`* Re: The joy of pipes186282@ud0s4.net
   |    ||     | `* Re: The joy of pipesPancho
   |    ||     |  +* Re: The joy of pipesLawrence D'Oliveiro
   |    ||     |  |`* Re: The joy of pipesPancho
   |    ||     |  | +* Re: The joy of pipesThe Natural Philosopher
   |    ||     |  | |+* Re: The joy of pipesPancho
   |    ||     |  | ||+- Re: The joy of pipesThe Natural Philosopher
   |    ||     |  | ||`- Re: The joy of pipesrbowman
   |    ||     |  | |`* Re: The joy of pipes186282@ud0s4.net
   |    ||     |  | | +- Re: The joy of pipesLawrence D'Oliveiro
   |    ||     |  | | +- Re: The joy of pipesThe Natural Philosopher
   |    ||     |  | | `- Re: The joy of pipesRichard Kettlewell
   |    ||     |  | `* Re: The joy of pipesrbowman
   |    ||     |  |  `* Re: The joy of pipesPancho
   |    ||     |  |   `- Re: The joy of pipesLawrence D'Oliveiro
   |    ||     |  `- Re: The joy of pipes186282@ud0s4.net
   |    ||     `* Re: The joy of pipesRobert Riches
   |    ||      `- Re: The joy of pipesLawrence D'Oliveiro
   |    |`- Re: The joy of pipesEli the Bearded
   |    `- Re: The joy of EBCDICCharlie Gibbs
   `- Re: The joy of octalEli the Bearded

Pages:123
Subject: The joy of octal
From: Chris Ahlstrom
Newsgroups: comp.os.linux.misc
Organization: None
Date: Sat, 9 Nov 2024 14:36 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.misc
Subject: The joy of octal
Date: Sat, 9 Nov 2024 09:36:58 -0500
Organization: None
Lines: 7
Message-ID: <vgns2a$3qlhq$2@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Sat, 09 Nov 2024 15:36:59 +0100 (CET)
Injection-Info: dont-email.me; posting-host="81136369e2723dca854458913d1eb982";
logging-data="4019770"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kZcyRGjrb/VEj3fIsLFcs"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Ak/WENt6nuFu6D45fFIMbtZH2F0=
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
View all headers

020111 067544 023556 020164 062556 062145 067040 020157
072163 062545 065556 067151 020147 062550 060570 062544
064543 060555 020554 005012

--
Beauty and harmony are as necessary to you as the very breath of life.

Subject: Re: The joy of octal
From: John Ames
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 11 Nov 2024 17:03 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of octal
Date: Mon, 11 Nov 2024 09:03:06 -0800
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <20241111090306.0000385d@gmail.com>
References: <vgns2a$3qlhq$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 11 Nov 2024 18:03:10 +0100 (CET)
Injection-Info: dont-email.me; posting-host="82a73f0e538784afb900f3a44fd300f5";
logging-data="1121831"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qeG+TAQAUwA6ojDVhI5x4ROXb3XBODCY="
Cancel-Lock: sha1:VQUOBarT8kMdD94DAI9+z78jYIk=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

On Sat, 9 Nov 2024 09:36:58 -0500
Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

> 020111 067544 023556 020164 062556 062145 067040 020157 072163 062545
> 065556 067151 020147 062550 060570 062544 064543 060555 020554 005012

041165 072040 073350 060564 020151 063040 074557 072447 071145 020167
071151 072151 067147 020146 071157 066400 060440 061151 063455 062556
062151 060556 020155 060543 064151 067145 027056 027077

Subject: Re: The joy of octal
From: Chris Ahlstrom
Newsgroups: comp.os.linux.misc
Organization: None
Date: Mon, 11 Nov 2024 20:58 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of octal
Date: Mon, 11 Nov 2024 15:58:36 -0500
Organization: None
Lines: 18
Message-ID: <vgtr5s$15ph3$3@dont-email.me>
References: <vgns2a$3qlhq$2@dont-email.me> <20241111090306.0000385d@gmail.com>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Mon, 11 Nov 2024 21:58:37 +0100 (CET)
Injection-Info: dont-email.me; posting-host="c1104492bb3e8820ad1ca69a0a39ce5a";
logging-data="1238563"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jOnfcEo807Dh/IyoAwqvs"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tI9fB8mdaJe0AQPlyst1PTNUZBE=
X-Slrn: Why use anything else?
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA
View all headers

John Ames wrote this post while blinking in Morse code:

> On Sat, 9 Nov 2024 09:36:58 -0500
> Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
>
>> 020111 067544 023556 020164 062556 062145 067040 020157 072163 062545
>> 065556 067151 020147 062550 060570 062544 064543 060555 020554 005012
>
> 041165 072040 073350 060564 020151 063040 074557 072447 071145 020167
> 071151 072151 067147 020146 071157 066400 060440 061151 063455 062556
> 062151 060556 020155 060543 064151 067145 027056 027077

Damn, I still haven't found a program that would easily reverse octal to a
string.

--
Q: How many marketing people does it take to change a light bulb?
A: I'll have to get back to you on that.

Subject: Re: The joy of octal
From: Louis Krupp
Newsgroups: comp.os.linux.misc
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Tue, 12 Nov 2024 09:30 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: The joy of octal
Newsgroups: comp.os.linux.misc
References: <vgns2a$3qlhq$2@dont-email.me> <20241111090306.0000385d@gmail.com>
<vgtr5s$15ph3$3@dont-email.me>
Content-Language: en-US
From: lkrupp@invalid.pssw.com.invalid (Louis Krupp)
In-Reply-To: <vgtr5s$15ph3$3@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 44
Message-ID: <XeFYO.1257$JOzd.276@fx10.iad>
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Tue, 12 Nov 2024 09:30:31 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Tue, 12 Nov 2024 02:30:32 -0700
X-Received-Bytes: 2004
View all headers

On 11/11/2024 1:58 PM, Chris Ahlstrom wrote:
> John Ames wrote this post while blinking in Morse code:
>
>> On Sat, 9 Nov 2024 09:36:58 -0500
>> Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
>>
>>> 020111 067544 023556 020164 062556 062145 067040 020157 072163 062545
>>> 065556 067151 020147 062550 060570 062544 064543 060555 020554 005012
>> 041165 072040 073350 060564 020151 063040 074557 072447 071145 020167
>> 071151 072151 067147 020146 071157 066400 060440 061151 063455 062556
>> 062151 060556 020155 060543 064151 067145 027056 027077
> Damn, I still haven't found a program that would easily reverse octal to a
> string.
>

This is crude, but it seems to work for the post you're replying to,
with big-endian two-byte integers:

===
#include <stdio.h>

int main(void)
{     union {
        unsigned short s;
        char c[2];
    } w;
    unsigned int wi;
    char junk;

    while (scanf("%o%c", &wi, &junk) > 0) {
        w.s = wi;
        printf("%c%c", w.c[1], w.c[0]);
    }
    printf("\n");

    return 0;
} ===

To read a sequence of two-byte octal little-endian integers, swap w.c[1]
and w.c[0].

Louis

Subject: Re: The joy of octal
From: Chris Ahlstrom
Newsgroups: comp.os.linux.misc
Organization: None
Date: Tue, 12 Nov 2024 12:29 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of octal
Date: Tue, 12 Nov 2024 07:29:12 -0500
Organization: None
Lines: 52
Message-ID: <vgvhmp$1j7v5$1@dont-email.me>
References: <vgns2a$3qlhq$2@dont-email.me>
<20241111090306.0000385d@gmail.com> <vgtr5s$15ph3$3@dont-email.me>
<XeFYO.1257$JOzd.276@fx10.iad>
Reply-To: OFeem1987@teleworm.us
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 12 Nov 2024 13:29:16 +0100 (CET)
Injection-Info: dont-email.me; posting-host="3090a65867b94aed9d2c56630aa2594e";
logging-data="1679333"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wT0WvObh3T6LwDOGa/J5e"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:NH0XW5cf+PT1IBf7kGjaslsMg04=
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA
X-Slrn: Why use anything else?
View all headers

Louis Krupp wrote this post while blinking in Morse code:

> On 11/11/2024 1:58 PM, Chris Ahlstrom wrote:
>> John Ames wrote this post while blinking in Morse code:
>>
>>> On Sat, 9 Nov 2024 09:36:58 -0500
>>> Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
>>>
>>>> 020111 067544 023556 020164 062556 062145 067040 020157 072163 062545
>>>> 065556 067151 020147 062550 060570 062544 064543 060555 020554 005012
>>> 041165 072040 073350 060564 020151 063040 074557 072447 071145 020167
>>> 071151 072151 067147 020146 071157 066400 060440 061151 063455 062556
>>> 062151 060556 020155 060543 064151 067145 027056 027077
>> Damn, I still haven't found a program that would easily reverse octal to a
>> string.
>>
>
> This is crude, but it seems to work for the post you're replying to,
> with big-endian two-byte integers:
>
> ===
> #include <stdio.h>
>
> int main(void)
> {
>     union {
>         unsigned short s;
>         char c[2];
>     } w;
>     unsigned int wi;
>     char junk;
>
>     while (scanf("%o%c", &wi, &junk) > 0) {
>         w.s = wi;
>         printf("%c%c", w.c[1], w.c[0]);
>     }
>     printf("\n");
>
>     return 0;
> }
> ===
>
> To read a sequence of two-byte octal little-endian integers, swap w.c[1]
> and w.c[0].

Thanks!

--
After all, what is your hosts' purpose in having a party? Surely not for
you to enjoy yourself; if that were their sole purpose, they'd have simply
sent champagne and women over to your place by taxi.
-- P. J. O'Rourke

Subject: Re: The joy of EBCDIC
From: John Ames
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Tue, 12 Nov 2024 19:14 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of EBCDIC
Date: Tue, 12 Nov 2024 11:14:26 -0800
Organization: A noiseless patient Spider
Lines: 2
Message-ID: <20241112111426.00007245@gmail.com>
References: <vgns2a$3qlhq$2@dont-email.me>
<20241111090306.0000385d@gmail.com>
<vgtr5s$15ph3$3@dont-email.me>
<XeFYO.1257$JOzd.276@fx10.iad>
<vgvhmp$1j7v5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 12 Nov 2024 20:14:30 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1caf0d34212e3002ca7357f2ba429294";
logging-data="1835284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+o/MPYkT2Dw9UBHqJhjDxXw7rRYgxuG6I="
Cancel-Lock: sha1:nvh9OTQaYc+zBT/ojiS+mP89HUM=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

Subject: Re: The joy of EBCDIC
From: Charlie Gibbs
Newsgroups: comp.os.linux.misc
Date: Tue, 12 Nov 2024 19:51 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!news.neodome.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx43.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: The joy of EBCDIC
References: <vgns2a$3qlhq$2@dont-email.me>
<20241111090306.0000385d@gmail.com> <vgtr5s$15ph3$3@dont-email.me>
<XeFYO.1257$JOzd.276@fx10.iad> <vgvhmp$1j7v5$1@dont-email.me>
<20241112111426.00007245@gmail.com>
User-Agent: slrn/1.0.3 (Linux)
Lines: 11
Message-ID: <0lOYO.156257$7OO5.153156@fx43.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 12 Nov 2024 19:51:24 UTC
Date: Tue, 12 Nov 2024 19:51:24 GMT
X-Received-Bytes: 1105
View all headers

On 2024-11-12, John Ames <commodorejohn@gmail.com> wrote:

> E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

Ah, finally something I can understand!

--
/~\ Charlie Gibbs | Growth for the sake of
\ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
X I'm really at ac.dekanfrus | of the cancer cell.
/ \ if you read it the right way. | -- Edward Abbey

Subject: Re: The joy of octal
From: Eli the Bearded
Newsgroups: comp.os.linux.misc
Organization: Some absurd concept
Date: Tue, 12 Nov 2024 20:09 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: *@eli.users.panix.com (Eli the Bearded)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of octal
Date: Tue, 12 Nov 2024 20:09:49 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2411121509@qaz.wtf>
References: <vgns2a$3qlhq$2@dont-email.me> <20241111090306.0000385d@gmail.com> <vgtr5s$15ph3$3@dont-email.me> <XeFYO.1257$JOzd.276@fx10.iad>
Injection-Date: Tue, 12 Nov 2024 20:09:49 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="15743"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
View all headers

In comp.os.linux.misc, Louis Krupp <lkrupp@invalid.pssw.com.invalid> wrote:
> This is crude, but it seems to work for the post you're replying to,
> with big-endian two-byte integers:

[snip C code with Unicode whitespace]

> To read a sequence of two-byte octal little-endian integers, swap w.c[1]
> and w.c[0].

Or you could just pipe the output through `dd conv=swab`.

Elijah
------
whose c compiler doesn't like non-ASCII whitespace

Subject: Re: The joy of EBCDIC
From: Chris Ahlstrom
Newsgroups: comp.os.linux.misc
Organization: None
Date: Tue, 12 Nov 2024 21:12 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of EBCDIC
Date: Tue, 12 Nov 2024 16:12:00 -0500
Organization: None
Lines: 14
Message-ID: <vh0gb0$1pd5h$3@dont-email.me>
References: <vgns2a$3qlhq$2@dont-email.me>
<20241111090306.0000385d@gmail.com> <vgtr5s$15ph3$3@dont-email.me>
<XeFYO.1257$JOzd.276@fx10.iad> <vgvhmp$1j7v5$1@dont-email.me>
<20241112111426.00007245@gmail.com> <0lOYO.156257$7OO5.153156@fx43.iad>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Tue, 12 Nov 2024 22:12:01 +0100 (CET)
Injection-Info: dont-email.me; posting-host="3090a65867b94aed9d2c56630aa2594e";
logging-data="1881265"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2Y8SwGh91TOF3+58HjMNj"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:3IBHgc7ZstT10OxYsYo+2tFh6rY=
X-Mutt: The most widely-used MUA
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-Slrn: Why use anything else?
View all headers

Charlie Gibbs wrote this post while blinking in Morse code:

> On 2024-11-12, John Ames <commodorejohn@gmail.com> wrote:
>
>> E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A
>
> Ah, finally something I can understand!

You all beat me for geek fu! :-(

But I am young. (67)

--
By failing to prepare, you are preparing to fail.

Subject: Re: The joy of EBCDIC
From: candycanearter07
Newsgroups: comp.os.linux.misc
Organization: the-candyden-of-code
Date: Tue, 12 Nov 2024 22:20 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of EBCDIC
Date: Tue, 12 Nov 2024 22:20:04 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 17
Message-ID: <slrnvj7kjp.qfu1.candycanearter07@candydeb.host.invalid>
References: <vgns2a$3qlhq$2@dont-email.me>
<20241111090306.0000385d@gmail.com> <vgtr5s$15ph3$3@dont-email.me>
<XeFYO.1257$JOzd.276@fx10.iad> <vgvhmp$1j7v5$1@dont-email.me>
<20241112111426.00007245@gmail.com> <0lOYO.156257$7OO5.153156@fx43.iad>
<vh0gb0$1pd5h$3@dont-email.me>
Injection-Date: Tue, 12 Nov 2024 23:20:04 +0100 (CET)
Injection-Info: dont-email.me; posting-host="c496e51265c25d4c233ad639f32f2bce";
logging-data="1911731"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Kj9ZrEsnPLnyngWkQwzWj/rObobG3wtzfsaz6tC+pIw=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tuF0fq1pAhDAiQY2XD3sMk539bA=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Chris Ahlstrom <OFeem1987@teleworm.us> wrote at 21:12 this Tuesday (GMT):
> Charlie Gibbs wrote this post while blinking in Morse code:
>
>> On 2024-11-12, John Ames <commodorejohn@gmail.com> wrote:
>>
>>> E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A
>>
>> Ah, finally something I can understand!
>
> You all beat me for geek fu! :-(
>
> But I am young. (67)

67 is not young..
--
user <candycane> is generated from /dev/urandom

Subject: Re: The joy of EBCDIC
From: Chris Ahlstrom
Newsgroups: comp.os.linux.misc
Organization: None
Date: Wed, 13 Nov 2024 11:59 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of EBCDIC
Date: Wed, 13 Nov 2024 06:59:55 -0500
Organization: None
Lines: 27
Message-ID: <vh24br$26d7u$2@dont-email.me>
References: <vgns2a$3qlhq$2@dont-email.me>
<20241111090306.0000385d@gmail.com> <vgtr5s$15ph3$3@dont-email.me>
<XeFYO.1257$JOzd.276@fx10.iad> <vgvhmp$1j7v5$1@dont-email.me>
<20241112111426.00007245@gmail.com> <0lOYO.156257$7OO5.153156@fx43.iad>
<vh0gb0$1pd5h$3@dont-email.me>
<slrnvj7kjp.qfu1.candycanearter07@candydeb.host.invalid>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Wed, 13 Nov 2024 12:59:56 +0100 (CET)
Injection-Info: dont-email.me; posting-host="6a300bbd1aacab54cf072e414c73e8d1";
logging-data="2307326"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jEqSlcjEFule2zknY8qpK"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:8/t77ymWHAmuSs/J8dgAFZnZiO4=
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Slrn: Why use anything else?
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-Mutt: The most widely-used MUA
View all headers

candycanearter07 wrote this post while blinking in Morse code:

> Chris Ahlstrom <OFeem1987@teleworm.us> wrote at 21:12 this Tuesday (GMT):
>> Charlie Gibbs wrote this post while blinking in Morse code:
>>
>>> On 2024-11-12, John Ames <commodorejohn@gmail.com> wrote:
>>>
>>>> E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A
>>>
>>> Ah, finally something I can understand!
>>
>> You all beat me for geek fu! :-(
>>
>> But I am young. (67)
>
> 67 is not young.

It is when you got 80+ year-old Presidents and doddering Congressmen.

Anyway, I never got experience on IBM mainframes, just on DEC machines.

Ah yes:

--
Of all men's miseries, the bitterest is this:
to know so much and have control over nothing.
-- Herodotus

Subject: Re: The joy of EBCDIC
From: Fritz Wuehler
Newsgroups: comp.os.linux.misc
Organization: dizum.com - The Internet Problem Provider
Date: Thu, 14 Nov 2024 20:13 UTC
References: 1 2 3 4 5 6
From: fritz@spamexpire-202411.rodent.frell.theremailer.net (Fritz Wuehler)
Subject: Re: The joy of EBCDIC
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
References: <vgns2aqlhq@dont-email.me>
<20241111090306.0000385d@gmail.com> <vgtr5s5ph3@dont-email.me>
<XeFYO.1257.276@fx10.iad> <vgvhmpj7v5@dont-email.me>
<20241112111426.00007245@gmail.com>
Message-ID: <e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
Date: Thu, 14 Nov 2024 21:13:40 +0100
Newsgroups: comp.os.linux.misc
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!alphared!sewer!news.dizum.net!not-for-mail
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 2001::1/128
View all headers

John Ames <commodorej...@gmail.com> [JA]:
JA> E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

Do you want a spell checker with that?

Pipe it to

xxd -r -ps -u | iconv -f EBCDIC-CP-US -t ascii | aspell -pipe list | fmt

(unix pipes can be such fun)

Subject: Re: The joy of EBCDIC
From: Clemens Schüller
Newsgroups: comp.os.linux.misc
Date: Thu, 14 Nov 2024 20:20 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cs.usenet@mailbox.org (Clemens Schüller)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of EBCDIC
Date: Thu, 14 Nov 2024 21:20:03 +0100
Lines: 25
Message-ID: <m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de>
References: <vgns2aqlhq@dont-email.me> <20241111090306.0000385d@gmail.com>
<vgtr5s5ph3@dont-email.me> <XeFYO.1257.276@fx10.iad>
<vgvhmpj7v5@dont-email.me> <20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net eNpCpXTyd+7PgVBsIFgBJg8dgOWGcEjDxd53GBU3Dkvnc6IzGd
Cancel-Lock: sha1:bElQ6h9kQwdtNfJ+nMY9e9jOGKM= sha1:W6b4ow0wrLGlj/7DYWiM6ct6Obs= sha256:dBHx3nWut6u16bImQq9mXS2SEoAGgVoBKHkzsUBX7tc=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (darwin)
View all headers

Fritz Wuehler schrieb am 14. Nov. 2024 um 21:13:
> John Ames <commodorej...@gmail.com> [JA]:
> JA> E399A840 A38889A2 40969540 86969940 A289A985 4B4B4B5A

> Do you want a spell checker with that?
>
> Pipe it to
>
> xxd -r -ps -u | iconv -f EBCDIC-CP-US -t ascii | aspell -pipe list | fmt
>
>
> (unix pipes can be such fun)

I increase it with

--8<---------------cut here---------------start------------->8---
nowplaying-cli get artist title | perl -p -e "s/\n/ - /" | rev | -c4- | rev
--8<---------------cut here---------------end--------------->8---

🤣

--
np: Lost Frequencies & Love Harder - You (feat. Flynn) [Deluxe Mix]

Subject: Re: The joy of EBCDIC
From: Eli the Bearded
Newsgroups: comp.os.linux.misc
Organization: Some absurd concept
Date: Thu, 14 Nov 2024 23:55 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: *@eli.users.panix.com (Eli the Bearded)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of EBCDIC
Date: Thu, 14 Nov 2024 23:55:53 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2411141855@qaz.wtf>
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com> <e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net> <m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Thu, 14 Nov 2024 23:55:53 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="6015"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
View all headers

In comp.os.linux.misc, Clemens Schüller <cs.usenet@mailbox.org> wrote:
> I increase it with
>
> --8<---------------cut here---------------start------------->8---
> nowplaying-cli get artist title | perl -p -e "s/\n/ - /" | rev | -c4- | rev
> --8<---------------cut here---------------end--------------->8---

Okay, I give up.

1. How does that relate to EBCDIC?
2. What is the "-c4-" step doing?

(I have no programs on my path that start with "-". I do have a few that
end with "-".)

Elijah
------
"rev | rev" is no-op so really curious about the middle transition

Subject: Re: The joy of pipes
From: John Ames
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 15 Nov 2024 00:09 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: Thu, 14 Nov 2024 16:09:07 -0800
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <20241114160907.0000252b@gmail.com>
References: <vgns2aqlhq@dont-email.me>
<20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de>
<eli$2411141855@qaz.wtf>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 15 Nov 2024 01:09:08 +0100 (CET)
Injection-Info: dont-email.me; posting-host="37c7a60a637c6eaa55489b754bb2e799";
logging-data="3209708"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XrebzLvvf7742QiG+XhOrPva0VbdV7mI="
Cancel-Lock: sha1:PqqYTIo3YDlw86sT0VPjXjvGfvo=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

On Thu, 14 Nov 2024 23:55:53 -0000 (UTC)
Eli the Bearded <*@eli.users.panix.com> wrote:

> Okay, I give up.
>
> 1. How does that relate to EBCDIC?

(I think it was a topic shift to applications of *nix pipes...?)

Subject: Re: The joy of pipes
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 15 Nov 2024 02:05 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: Fri, 15 Nov 2024 02:05:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <vh6a9k$33c17$5@dont-email.me>
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
<20241114160907.0000252b@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 15 Nov 2024 03:05:41 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d8d1f71c773d10abe5529e98190e91ac";
logging-data="3256359"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Vuc5+b9EFkPiMVEPqZOX9"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:1G/SLSdZ1gbfO7aWbid+s+3kS6c=
View all headers

On Thu, 14 Nov 2024 16:09:07 -0800, John Ames wrote:

> (I think it was a topic shift to applications of *nix pipes...?)

Oh shelly boy, the pipes, the pipes are calling ...

Subject: Re: The joy of pipes
From: Eli the Bearded
Newsgroups: comp.os.linux.misc
Organization: Some absurd concept
Date: Fri, 15 Nov 2024 06:41 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: *@eli.users.panix.com (Eli the Bearded)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: Fri, 15 Nov 2024 06:41:40 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2411150141@qaz.wtf>
References: <vgns2aqlhq@dont-email.me> <m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf> <20241114160907.0000252b@gmail.com>
Injection-Date: Fri, 15 Nov 2024 06:41:40 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="12586"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
View all headers

In comp.os.linux.misc, John Ames <commodorejohn@gmail.com> wrote:
> Eli the Bearded <*@eli.users.panix.com> wrote:
> > Okay, I give up.
> > 1. How does that relate to EBCDIC?
> (I think it was a topic shift to applications of *nix pipes...?)

Traditional Unix "spell", which merely outputs words not recognized
without context or even line numbers, is an application of pipes.

Roughly like this:

--8<---------------cut here---------------start------------->8---
cat ~/.spell.words /usr/dict/words 2>/dev/null |
tr A-Z a-z |
tr -dc a-z'
' |
grep '[a-z]' |
SPELLSTEMTOOL |
sort -u > $TMPFILE_A

< $INPUT_FILE tr -s ' ^I!$&()_+[]{}:l"'\''\\.,?/-' '
' |
tr A-Z a-z |
tr -dc a-z'
' |
grep '[a-z]' |
sort -u > $TMPFILE_B

comm -13 $TMPFILE_A $TMPFILE_B
--8<---------------cut here---------------end--------------->8---

Where SPELLSTEMTOOL is a heuristic that tries to make "try" into "tries"
and related dictionary fixes to compensate for the words file not having
all the variants. (These days it is /usr/share/dict/words but also
these days traditional spell is hard to find. Gnu spell is different.)

Elijah
------
or maybe the stem tool worked on file B in the other direction

Subject: Re: The joy of pipes
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Fri, 15 Nov 2024 07:49 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!border-4.nntp.ord.giganews.com!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 15 Nov 2024 07:49:54 +0000
Subject: Re: The joy of pipes
Newsgroups: comp.os.linux.misc
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
<20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Fri, 15 Nov 2024 02:49:54 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <vh6a9k$33c17$5@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com>
Lines: 11
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-nDW/w/NeaQeitin45WYsnc9a5MN1ciIosP/O5Bv3+LLDmrz4SEMPB5bdsktHGm6iIM4Smt/TtgdW0G3!9cwJopLlZHhvM+6r45zXnEpLVzslsbPhD9vrebUEISau3x1M8cAtVhHsUQ4Fllto1P2wtXP4vObO!j+jYbMwvBXcgdj7HWr1G
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 11/14/24 9:05 PM, Lawrence D'Oliveiro wrote:
> On Thu, 14 Nov 2024 16:09:07 -0800, John Ames wrote:
>
>> (I think it was a topic shift to applications of *nix pipes...?)
>
> Oh shelly boy, the pipes, the pipes are calling ...

Pipes are good.

But, really, they're just temp files the parent
process can access.

Subject: Re: The joy of pipes
From: John Ames
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 15 Nov 2024 15:55 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: Fri, 15 Nov 2024 07:55:25 -0800
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <20241115075525.0000779a@gmail.com>
References: <vgns2aqlhq@dont-email.me>
<20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de>
<eli$2411141855@qaz.wtf>
<20241114160907.0000252b@gmail.com>
<vh6a9k$33c17$5@dont-email.me>
<hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 15 Nov 2024 16:55:29 +0100 (CET)
Injection-Info: dont-email.me; posting-host="37c7a60a637c6eaa55489b754bb2e799";
logging-data="3633511"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LYVSESs2lHEcYhp4XUEIgqxlPiH/8sjo="
Cancel-Lock: sha1:Pa9MpfFFCugGtx/0mKbk6RK4hq8=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

On Fri, 15 Nov 2024 02:49:54 -0500
"186282@ud0s4.net" <186283@ud0s4.net> wrote:

> Pipes are good.
>
> But, really, they're just temp files the parent process can access.

(shhh, don't tell anybody)

Subject: Re: The joy of EBCDIC
From: Charlie Gibbs
Newsgroups: comp.os.linux.misc
Date: Fri, 15 Nov 2024 20:23 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!news-out.netnews.com!s1-3.netnews.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx16.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: The joy of EBCDIC
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com> <e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net> <m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
User-Agent: slrn/1.0.3 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 30
Message-ID: <u5OZO.8421$pZ%.6965@fx16.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 15 Nov 2024 20:23:54 UTC
Date: Fri, 15 Nov 2024 20:23:54 GMT
X-Received-Bytes: 1729
View all headers

On 2024-11-14, Eli the Bearded <*@eli.users.panix.com> wrote:

> In comp.os.linux.misc, Clemens Schüller <cs.usenet@mailbox.org> wrote:
>
>> I increase it with
>>
>> --8<---------------cut here---------------start------------->8---
>> nowplaying-cli get artist title | perl -p -e "s/\n/ - /" | rev | -c4- | rev
>> --8<---------------cut here---------------end--------------->8---
>
> Okay, I give up.
>
> 1. How does that relate to EBCDIC?
> 2. What is the "-c4-" step doing?
>
> (I have no programs on my path that start with "-". I do have a few that
> end with "-".)
>
> Elijah
> ------
> "rev | rev" is no-op so really curious about the middle transition

I think the OP dropped a word - "cut -c4-" would make it
drop the first 3 characters of each line.

--
/~\ Charlie Gibbs | Growth for the sake of
\ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
X I'm really at ac.dekanfrus | of the cancer cell.
/ \ if you read it the right way. | -- Edward Abbey

Subject: Re: The joy of pipes
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sat, 16 Nov 2024 00:16 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: Sat, 16 Nov 2024 00:16:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vh8o8j$3ljb8$2@dont-email.me>
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
<20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me>
<hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 16 Nov 2024 01:16:19 +0100 (CET)
Injection-Info: dont-email.me; posting-host="497319f7e8e3be82a888ec3cf2c74229";
logging-data="3853672"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VCc+A1JRRMGe7dbJSPBfM"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:TiORiDQGncB7g8x56S1JyoB5MBg=
View all headers

On Fri, 15 Nov 2024 02:49:54 -0500, 186282@ud0s4.net wrote:

> But, really, they're just temp files the parent process can access.

They’re in-kernel memory buffers, with a read end and a write end.
Actually you can have multiple processes at each end. Readers can
automatically block waiting for writers, writers can automatically block
waiting for readers.

Try doing that with temporary files.

Subject: Re: The joy of pipes
From: Robert Riches
Newsgroups: comp.os.linux.misc
Organization: none-at-all
Date: Sat, 16 Nov 2024 04:33 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: spamtrap42@jacob21819.net (Robert Riches)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: 16 Nov 2024 04:33:07 GMT
Organization: none-at-all
Lines: 59
Message-ID: <slrnvjg843.1g8.spamtrap42@one.localnet>
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
<20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me>
<hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com>
<A7GZO.66$hgYd.23@fx41.iad>
Reply-To: spamtrap42@jacob21819.net
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 1y8k/SbGYO6QVXi6/jWFBwuFrwkjXsAZWRys8f8wlt75vjvp2b
Cancel-Lock: sha1:yZ79pdgYjnm2mUIcq4Ba2IHWchg= sha256:IYyjn9nNujZCCDyUNMJQ5T164VsPRLfYCo/oduxS154=
User-Agent: slrn/1.0.3 (Linux)
View all headers

On 2024-11-15, Louis Krupp <lkrupp@invalid.pssw.com.invalid> wrote:
> This is a multi-part message in MIME format.
> --------------cDOk308Xy6TMkzB8MsXpyDQY
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding: 8bit
>
> On 11/15/2024 12:49 AM, 186282@ud0s4.net wrote:
>> On 11/14/24 9:05 PM, Lawrence D'Oliveiro wrote:
>>> On Thu, 14 Nov 2024 16:09:07 -0800, John Ames wrote:
>>>
>>>> (I think it was a topic shift to applications of *nix pipes...?)
>>>
>>> Oh shelly boy, the pipes, the pipes are calling ...
>>
>>   Pipes are good.
>>
>>   But, really, they're just temp files the parent
>>   process can access.
>
> Pipes *could* be implemented with temporary disk files, at least to an
> extent, but as far as I can tell, they're not.
>
> Quoting from this page:
>
> https://www.geeksforgeeks.org/piping-in-unix-or-linux/#
>
> In Linux, a pipe is not a regular file but a type of inter-process
> communication (IPC) mechanism that acts as a buffer, which can be
> used to connect the output of one process to the input of another.
> Although pipes are not files, they are implemented using file
> descriptors and share many behaviors with files. They exist only in
> memory and do not have a presence in the file system, unlike regular
> files.
>
> Louis

There are also "named pipes" aka FIFOs. On Devuan Daedalus (and
probably most other distributions) this command will show
information about them:

man 7 pipe

I have used a named pipe aka FIFO on a Raspberry PI. An mplayer
process reads from a PVR-USB2 TV receiver and writes to the named
pipe or FIFO. A netcat process reads from the named pipe or FIFO
to send the bits to a larger computer with substantial disk
storage. A 105 minute recording session is several GB in size.
A cron job, ssh, and some shell scripting launch the stuff.

(Unfortunately, either the amplified TV antenna in the attic has
lost its gain, or the PVR-USB2 unit has lost front-end gain, so
it has not captured a viewable program in a few years.)

HTH

--
Robert Riches
spamtrap42@jacob21819.net
(Yes, that is one of my email addresses.)

Subject: Re: The joy of pipes
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Sat, 16 Nov 2024 05:37 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 16 Nov 2024 05:37:36 +0000
Subject: Re: The joy of pipes
Newsgroups: comp.os.linux.misc
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
<20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me>
<hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com> <A7GZO.66$hgYd.23@fx41.iad>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Sat, 16 Nov 2024 00:37:35 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <A7GZO.66$hgYd.23@fx41.iad>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <kaOcndi2KbU9sqX6nZ2dnZfqnPSdnZ2d@earthlink.com>
Lines: 48
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-ufU1yjJSInxlj7hBnKz33dQGyCDJ/ZH4ca2rDYPeg5doJOUKPIHtdyUVrsHW68FpSIc/6eDDS/Lq8Bq!rIQnWcRgvxZPUA7ViOH4jmIktyB7IxI5NpRJVR1+vTkOrN3yv+foW+puho543az4vOdhN9mHC2/P!wcRjmjea8WKApF3VSrKp
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 11/15/24 6:20 AM, Louis Krupp wrote:
> On 11/15/2024 12:49 AM, 186282@ud0s4.net wrote:
>> On 11/14/24 9:05 PM, Lawrence D'Oliveiro wrote:
>>> On Thu, 14 Nov 2024 16:09:07 -0800, John Ames wrote:
>>>
>>>> (I think it was a topic shift to applications of *nix pipes...?)
>>>
>>> Oh shelly boy, the pipes, the pipes are calling ...
>>
>>   Pipes are good.
>>
>>   But, really, they're just temp files the parent
>>   process can access.
>
> Pipes *could* be implemented with temporary disk files, at least to an
> extent, but as far as I can tell, they're not.

Well, they can be on ACTUAL disk space - or on
a RAMdisk or just a reserved stretch of RAM.

The last one is quickest - but most taxing on
run-time resources.

> Quoting from this page:
>
> https://www.geeksforgeeks.org/piping-in-unix-or-linux/#
>
>    In Linux, a pipe is not a regular file but a type of inter-process
>    communication (IPC) mechanism that acts as a buffer, which can be
>    used to connect the output of one process to the input of another.
>    Although pipes are not files, they are implemented using file
>    descriptors and share many behaviors with files. They exist only in
>    memory and do not have a presence in the file system, unlike regular
>    files.

There are clearly a lot of ways to implement "pipes".
'C' does it the 'C' way.

IF you are doing multi-threaded/process style pgms then you
almost HAVE to use them if you want to xmit more than
a few bytes between parents/children. A few years back
I was experimenting with TCP/UDP servers and found that
it could be very useful to transmit a few dozen bytes
worth of active data between parents/children.

SO ... learn yer pipes !

Subject: Re: The joy of pipes
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Sat, 16 Nov 2024 06:16 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: 16 Nov 2024 06:16:20 GMT
Lines: 13
Message-ID: <lpqrlkFqcu8U5@mid.individual.net>
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
<20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me>
<hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com> <A7GZO.66$hgYd.23@fx41.iad>
<kaOcndi2KbU9sqX6nZ2dnZfqnPSdnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 8AGTnoLnbw4coqo3EN0WSw1sd60ITnu4v1TMn+iR5G08cS24Rh
Cancel-Lock: sha1:0bBQ3AOoW3idW+KINqwFVj4t4Ug= sha256:0ndyBOyjL7GnmLvp/8RJ3t68WOJdZI/lIVFG45oMA7A=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sat, 16 Nov 2024 00:37:35 -0500, 186282@ud0s4.net wrote:

> IF you are doing multi-threaded/process style pgms then you almost
> HAVE to use them if you want to xmit more than a few bytes between
> parents/children. A few years back I was experimenting with TCP/UDP
> servers and found that it could be very useful to transmit a few
> dozen bytes worth of active data between parents/children.
>
> SO ... learn yer pipes !

Message queues and shared memory are handy for IPC too. I don't think
Microsoft ever figured either out. What they call message queues are
completely different.

Subject: Re: The joy of pipes
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sat, 16 Nov 2024 06:46 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: Sat, 16 Nov 2024 06:46:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vh9f4v$3ssa6$3@dont-email.me>
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
<20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me>
<hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com> <A7GZO.66$hgYd.23@fx41.iad>
<slrnvjg843.1g8.spamtrap42@one.localnet>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 16 Nov 2024 07:46:56 +0100 (CET)
Injection-Info: dont-email.me; posting-host="497319f7e8e3be82a888ec3cf2c74229";
logging-data="4092230"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zYM8dX82jImxAH9T7S3Vr"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:w7VqHzKPRPevRi9fqde7wCEpI3E=
View all headers

On 16 Nov 2024 04:33:07 GMT, Robert Riches wrote:

> There are also "named pipes" aka FIFOs.

https://manpages.debian.org/7/pipe.7.en.html
https://manpages.debian.org/7/fifo.7.en.html

Not to be confused with Unix sockets.

https://manpages.debian.org/7/unix.7.en.html

Pages:123

rocksolid light 0.9.8
clearnet tor