Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Filesystem vs file system

4 views
Skip to first unread message

Kerr-Mudd, John

unread,
Dec 22, 2022, 3:44:04 PM12/22/22
to
On Sun, 18 Dec 2022 20:35:56 +0000
Ahem A Rivet's Shot <ste...@eircom.net> wrote:

> On Sun, 18 Dec 2022 19:26:37 +0000
> "Kerr-Mudd, John" <ad...@127.0.0.1> wrote:
>
> > On Sun, 18 Dec 2022 18:34:01 +0000
> > Ahem A Rivet's Shot <ste...@eircom.net> wrote:
> >
> > > On Sun, 18 Dec 2022 17:06:30 GMT
> > > Charlie Gibbs <cgi...@kltpzyxm.invalid> wrote:
> > >
> > > > On 2022-12-18, Charles Richmond <code...@aquaporin4.com> wrote:
> > > >
> > > > > I would have used "rot-13", but I'm *not* sure if folks know how to
> > > > > use that anymore...
> > > >
> > > > Fbzr bs hf qb.
> > >
> > > Bayl fbzr ?
> > >
> >
> > I wrote my own in asm;
> > what a lookup table? much shorter:
>
> I use tr:
>
> $ more bin/rot13
> #!/bin/sh
> tr '[A-Za-z]' '[N-ZA-Mn-za-m]'
>
Did I reply here? not sure
I have implemented a barebones tr for DOS that accepts ranges, so rot13
jbexf. Luckily it also seems to work with or without the square brackets.
100 bytes (no error messages, and barely any^w^w no syntax checking).

xpost to ala




--
Bah, and indeed Humbug.

Kerr-Mudd, John

unread,
Dec 23, 2022, 8:58:46 AM12/23/22
to
On Thu, 22 Dec 2022 20:44:02 +0000
Just here; (OK go on then, also xposted to clax and codp, xpost to afc
dropped)

tr.com: uses DOS int 21 for fileIO

-> d 100 l100
16AB:0100 BF 65 01 31-C0 99 AA FE-C0 75 FB BB-82 00 B0 20 .e.1.....u.....
16AB:0110 89 DF F2 AE-75 4E 89 FE-43 46 AA 31-FF 87 DE 92 ....uN..CF.1....
16AB:0120 3C 27 74 19-40 80 3C 2D-75 07 3A 44-01 76 03 46 <'t.@.<-u.:D.v.F
16AB:0130 46 AC 09 FF-75 E4 BF 65-01 01 C7 EB-E0 31 DB BA F...u..e.....1..
16AB:0140 65 02 89 D6-89 F7 B9 9A-FD B4 3F CD-21 91 E3 14 e.........?.!...
16AB:0150 BB 65 01 51-AC D7 AA E2-FB 59 BB 01-00 B4 40 CD .e.Q.....Y....@.
16AB:0160 21 4B EB DE-C3 !K...

Only example I've tested:

tr 'A-Za-z' 'N-ZA-Mn-za-m' {<con}

example text to unrot:

Onebarff Znetnerg Gungpure!
0 new messages