Pop-Up Thingie
Sidebar
The Computer Express
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
FidoNet
BASH
Weather script
From
Sean Dennis
@1:18/200 to
All
on Wed Nov 26 19:31:32 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
Guest
Wed Oct 14 19:53:20 2026
from
Hell, Michigan
via
Telnet
Guest
Fri Aug 28 17:23:14 2026
from
Adams,
via
Telnet
Guest
Mon Aug 17 09:32:42 2026
from
Van Nuys, California
via
Telnet
Guest
Sun Aug 16 14:03:40 2026
from
Minneapolis, Mn
via
Telnet
System Info
Sysop:
Coz
Location:
Anoka, MN
Users:
2
Nodes:
4 (
0
/
4
)
Uptime:
30:46:59
Calls:
478
Files:
6,774
Messages:
249,625