home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 2432 
 Sean Rima to All 
 Script to create polls 
 13 Jun 21 22:05:08 
 
MSGID: 2:263/1.0 311348ff
TZUTC: 0100
CHARSET: PC-8
Folks

Was messing around with my Linux scripts and created a short script to clear
bad and busy polls and then poll a list of stations. I did it so that instead
of having to have bom ba/b/c lines, it reads a text file and creates the
necessary polls. Maybe sucking eggs here.

polls.sh

-=-=-=-=-=-=-=-=-=

#!/bin/bash

date
cat /home/bbbs/polls.txt |  while read output do
    ./bbbs bom b "$output" 0
    ./bbbs bom ba "$output" 0
    ./bbbs bom c "$output" +c
done

-=-=-=-=-=-=-=-=-=-=

poll.txt
-=-=-==-=
2:263/1
....
-=-=-=-=-=

Has been working for the last week here perfectly. There maybe better and
easier ways, but this is my solution.

Sean

... tcob1: telnet and http tcob1.duckdns.org
--- BBBS/Li6 v4.10 Toy-5
 * Origin: TCOB1 at tcob1.duckdns.org BinkP / Telnet (2:263/1)
SEEN-BY: 1/123 14/0 15/0 19/36 30/0 80/1 90/1 103/705 105/81 106/201
SEEN-BY: 116/18 120/331 340 123/131 128/2 129/305 135/392 153/757
SEEN-BY: 153/7715 154/10 218/700 221/1 6 222/2 226/30 227/114 229/101
SEEN-BY: 229/424 426 452 550 700 1016 1017 230/150 152 240/1120 5832
SEEN-BY: 249/206 317 250/1 261/38 100 266/512 267/155 275/100 280/464
SEEN-BY: 282/464 1038 1056 291/100 111 292/854 301/0 1 101 113 317/3
SEEN-BY: 320/119 219 322/757 340/400 341/66 342/200 396/45 633/280
SEEN-BY: 640/1321 712/848 801/161 189 920/1 2320/105 3634/12 5020/1042
SEEN-BY: 5058/104
PATH: 263/1 222/2 261/38 301/1 229/426


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

(c) 1994,  bbs@darkrealms.ca