Begin forwarded message:
c.o.m.p spelled right at last! note that this post it isn't xposted
Date: Fri, 23 Dec 2022 13:15:50 +0000
From: "Kerr-Mudd, John" <
[email protected].0.0.1>
Newsgroups: alt.lang.asm,comp.os.dos.programmer,comp.lang.asm.x86
Subject: Re: Filesystem vs file system
On Thu, 22 Dec 2022 20:44:02 +0000
"Kerr-Mudd, John" <
[email protected]> wrote:
On Sun, 18 Dec 2022 20:35:56 +0000
Ahem A Rivet's Shot <[email protected]> wrote:
On Sun, 18 Dec 2022 19:26:37 +0000
"Kerr-Mudd, John" <[email protected]> wrote:
On Sun, 18 Dec 2022 18:34:01 +0000
Ahem A Rivet's Shot <[email protected]> wrote:
On Sun, 18 Dec 2022 17:06:30 GMT
Charlie Gibbs <[email protected]d> wrote:
On 2022-12-18, Charles Richmond <[email protected]> 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
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!
--
Bah, and indeed Humbug.
--
Bah, and indeed Humbug.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)