• ARRL Letter script

    From Sean Dennis@1:18/200 to All on Tue Nov 7 14:01:20 2023
    Hello All,

    Looks like I fixed my ARRL Letter script...it'll now run Thursday mornings.

    73 DE KS4TD,
    Sean

    ... Never pick a fight with a dinosaur; you'll get jurasskicked.
    --- GoldED/2 3.0.1
    * Origin: Outpost BBS * Johnson City, TN * bbs.outpostbbs.net:10323 (1:18/200)
  • From Ricky DeLuco@1:135/383 to Sean Dennis on Wed Nov 8 10:45:32 2023

    Looks like I fixed my ARRL Letter script...it'll now run Thursday mornings.

    Would you consider sharing the script, me being a geek I would love to see your code?

    de Ricky, K4JTT

    N4TDX BBS - Telnet: n4tdx.ddns.net:2323
    FSXnet: 21:1/136 * Fidonet 1:135/383 * Micronet 618:250/35
    Titusville, FL.


    --- Mystic BBS v1.12 A48 (Windows/32)
    * Origin: N4TDX BBS (1:135/383)
  • From Sean Dennis@1:18/200 to Ricky DeLuco on Wed Nov 8 14:43:28 2023
    Hello, Ricky!

    Replying to a message of Ricky DeLuco to Sean Dennis:

    Would you consider sharing the script, me being a geek I would love to
    see your code?

    A quick note: ArcaOS has some Linux features and many *nix-based utilities that have been ported to it, so this should work as a BASH script with some minor modifications. This technically an OS/2 command script (.CMD):

    ===
    @echo off
    rem Last modified 7 November 2023
    d:
    cd\temp
    links -dump -codepage cp437 "http://www.arrl.org/arrlletter?issue=current" > letter
    sed -i '1,42d' letter
    sed -i '/Plain-Text/,$d' letter
    sed -i 's/Ad//g' letter
    sendmsgp $d:\pb\msgs\fiham "Sean Dennis",1:18/200 -s"Weekly ARRL Letter" < d:\temp\letter
    sendmsgp $d:\pb\msgs\m_ham "Sean Dennis",618:618/10 -s"Weekly ARRL Letter" < d:\temp\letter
    rm -f ./letter
    ===

    So I'll explain what's going on.

    I use the Links web browser to scrape the web page to a CP437-encoded text file.

    First call to 'sed' deletes lies 1-42 from the top of the file.

    Second call to 'sed' searches for the line that has 'Plain-Text' in it, deletes that line and the rest of the lines below that line down to the end of the file.

    Third call to 'sed' searches for the word 'Ad' in the document and deletes them.

    The two 'sendmsgp' lines call a program I use to write messages into my Squish message bases. The first line posts it here and the second posts it to MIN_HAM in Micronet.

    I hope I made it easy to understand.

    I have all sorts of scripts I've written from getting my hourly weather to pulling down the space weather advisories. Nothing fancy but quite useful.

    'sed' is available for several operating systems to include Windows.

    -- Sean

    --- FleetStreet 1.27.1
    * Origin: Outpost BBS Local Console * bbs.outpostbbs.net:10323 (1:18/200)
  • From Ricky DeLuco@1:135/383 to Sean Dennis on Thu Nov 9 07:43:24 2023
    QSL
    Thank You!

    de Ricky, K4JTT

    N4TDX BBS - Telnet: n4tdx.ddns.net:2323
    FSXnet: 21:1/136 * Fidonet 1:135/383 * Micronet 618:250/35
    Titusville, FL.


    --- Mystic BBS v1.12 A48 (Windows/32)
    * Origin: N4TDX BBS (1:135/383)
  • From Sean Dennis@1:18/200 to Ricky DeLuco on Thu Nov 9 16:18:44 2023
    Thank You!

    Sure thing. I have more where that came from.

    73,
    Sean KS4TD

    --- ProBoard v2.17 [Reg]
    * Origin: Outpost BBS * Johnson City, TN (1:18/200)