On Sun, 18 Dec 2022 20:35:56 +0000
Ahem A Rivet's Shot <steveo@eircom.net> wrote:
On Sun, 18 Dec 2022 19:26:37 +0000
"Kerr-Mudd, John" <admin@127.0.0.1> wrote:
On Sun, 18 Dec 2022 18:34:01 +0000
Ahem A Rivet's Shot <steveo@eircom.net> wrote:
On Sun, 18 Dec 2022 17:06:30 GMT
Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
On 2022-12-18, Charles Richmond <codescott@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
d 100 l10016AB: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...
$ more bin/rot13
#!/bin/sh
tr '[A-Za-z]' '[N-ZA-Mn-za-m]'
tr.com: uses DOS int 21 for fileIO
Only example I've tested:
tr 'A-Za-z' 'N-ZA-Mn-za-m' {<con}
example text to unrot:
Onebarff Znetnerg Gungpure!
d 100 l5E1637:0100 BF 5E 01 31-C0 99 AA FE-C0 75 FB BD-83 00 B0 20 .^.1.....u..... 1637:0110 89 EF F2 AE-F3 AE 89 FE-80 F2 01 74-05 8D BF 5E ...........t...^ 1637:0120 01 AA 93 87-EE 80 3C 2D-75 08 40 3A-44 01 76 E8 ......<-u.@:D.v. 1637:0130 46 46 AC 3C-27 75 E1 BA-5E 02 31 DB-89 D6 89 F7 FF.<'u..^.1..... 1637:0140 B9 A1 FD B4-3F CD 21 91-E3 13 BB 5E-01 51 AC D7 ....?.!....^.Q.. 1637:0150 AA E2-FB 59 BB 01-00 B4 40 CD-21 EB DD C3 ...Y....@.!...
q
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 415 |
Nodes: | 16 (2 / 14) |
Uptime: | 165:55:33 |
Calls: | 8,708 |
Calls today: | 2 |
Files: | 13,270 |
Messages: | 5,952,122 |