• exec/msgutil.js

    From rswindell@1:103/705 to CVS commit on Fri Apr 24 17:49:32 2020
    exec msgutil.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv30659

    Modified Files:
    msgutil.js
    Log Message:
    Better command-line parsing.
    Added "-export" for F. Krueger (2:333/808.1) which exports every message from the specified message base into a separate text file (in the sbbs/temp dir). e.g. "jsexec <msgbase-code> -export"
    Uses RFC-822 style header syntax. No dot-stuffing. Strips Ctrl-A codes. Uses CRLF-terminated lines. All these things could be configurable with options easily enough if someone wants different behavior.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Jun 28 17:58:02 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/291ff7b10f8c13dac128b8ec
    Modified Files:
    exec/msgutil.js
    Log Message:
    Don't load() 822header.js unless we're exporting messages822header.js adds an enumerable method to the header object which ends up in the output when using the -hdrs option/command.This addresses issue #277Note: this is not actually a supported or documented script.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)