home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   HAM      Amateur Radio Interest      13,334 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,722 of 13,334   
   Sean Dennis to Ricky DeLuco   
   ARRL Letter script   
   08 Nov 23 14:43:28   
   
   REPLY: 1:135/383 e314e619   
   MSGID: 1:18/200 654b9e91   
   CHRS: IBMPC 2   
   Hello, Ricky!   
      
   Replying to a message of Ricky DeLuco to Sean Dennis:   
      
    RD> Would you consider sharing the script, me being a geek I would love to   
    RD> 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)   
   SEEN-BY: 1/123 15/0 18/200 90/1 105/81 106/201 123/131 129/305 153/7715   
   SEEN-BY: 218/700 226/30 227/114 229/110 112 113 200 206 307 312 317   
   SEEN-BY: 229/400 426 428 470 664 700 266/512 282/1038 291/111 292/854   
   SEEN-BY: 305/3 317/3 320/219 322/757 342/200 396/45 460/58 633/280   
   SEEN-BY: 712/848 5020/400 5075/35   
   PATH: 18/200 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca