On Fri, 23 Dec 2022 15:54:28 +0000
"Kerr-Mudd, John" <
ad...@127.0.0.1> wrote:
[[unix]]
> > >
> > > $ more bin/rot13
> > > #!/bin/sh
> > > tr '[A-Za-z]' '[N-ZA-Mn-za-m]'
> > >
>
>
tr.com: uses DOS int 21 for fileIO
>
[100 byte version]
>
> Only example I've tested:
>
> tr 'A-Za-z' 'N-ZA-Mn-za-m' {<con}
>
> example text to unrot:
>
> Onebarff Znetnerg Gungpure!
>
Better^w Smaller version (94 bytes):
-> d 100 l5E
1637: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
Now allows >1 space between the strings! (but no error checking)