• remove characters/doormud scores

    From Johnny Mnonymous@1:218/650 to All on Sat May 28 20:07:52 2022
    DoorMud has a Player Rankings "rank.lst"

    there's some ugly unwanted characters (not players =p ) in it. is there a linux cli filter that will remove high-end ascii?

    ... Just another prisoner of gravity!

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: harbingerofsubstrate.com (1:218/650)
  • From Johnny Mnonymous@1:218/650 to Wilfred van Velzen on Sun May 29 15:11:55 2022
    On 29 May 2022, Wilfred van Velzen said the following...

    there's some ugly unwanted characters (not players =p ) in it. is the linux cli filter that will remove high-end ascii?

    Sure. Somthing like:

    cat in.txt | tr -d '\200-\377' >out.txt

    thanks. it didn't work but it's defitely pointed me in the right direction.

    ... That's not a bug, it's an undocumented feature

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: harbingerofsubstrate.com (1:218/650)
  • From Travis Mehrer@1:134/303 to Johnny Mnonymous on Mon May 30 09:34:37 2022
    DoorMud has a Player Rankings "rank.lst"

    there's some ugly unwanted characters (not players =p ) in it. is there
    a linux cli filter that will remove high-end ascii?

    While working on a mod for Mystic recently I used the "unidecode" module for Python to do something just like this. It'll take unicode characters and replace them with a close cp437 character. Even with little or no Python knowledge this should be reasonably simple.

    ... Next time you wave at me, use more than one finger!

    --- Mystic BBS v1.12 A48 2022/03/26 (Raspberry Pi/32)
    * Origin: CaNerDUH BBS (1:134/303)

Novedades:

Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!