Pop-Up Thingie
Sidebar
Too Lazy BBS
Home
Forum
Files
Chat
Bulletins
Top doors
MOTD
BBS Stats
Radio
AvatarChat
Dark
Register
Log in
Username
Password
Sidebar
Forum
FidoNet
BASH
Weather script
From
Sean Dennis
@1:18/200 to
All
on Wed Nov 26 19:31:33 2025
Hello All,
I wrote a script that grabs the 3-day forecast for my location from wttr.in and
posts it to my BBS. This is written in bash.
The display is converted to ASCII so all users can view it using iconv. The lines you're interested in are lines 4 and 5.
=== Cut ===
#!/bin/bash
export MBSE_ROOT=/opt/mbse
cd $MBSE_ROOT/work
curl wttr.in/?TdFn > ./test
iconv -f UTF-8 -t ascii//TRANSLIT test -o weather1.asc
cp weather1.asc $MBSE_ROOT/share/int/txtfiles/en/weather1.asc
=== Cut ===
-- Sean
... Some people will see the light only when they feel the heat.
--- GoldED+/LNX 1.1.5-b20240209
* Origin: Outpost BBS * Johnson City, TN (1:18/200)
Who's Online
Recent Visitors
Hannibal
Thu Jul 9 04:02:11 2026
from
Des Moines
via
Telnet
Hannibal
Thu Jul 9 03:58:24 2026
from
Des Moines
via
Telnet
Sauron
Thu Jul 9 01:32:00 2026
from
Purgatory
via
SSH
Geek2
Wed Jul 8 16:21:49 2026
from
Euclid, Oh
via
Telnet
System Info
Sysop:
Amessyroom
Location:
Fayetteville, NC
Users:
71
Nodes:
6 (
0
/
6
)
Uptime:
03:16:48
Calls:
968
Calls today:
3
Files:
1,326
Messages:
280,939