Pop-Up Thingie
Sidebar
Jacob's Hideout BBS
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
FidoNet
bash
Weather script
From
Sean Dennis
@1:18/200 to
All
on Wednesday, November 26, 2025 19:31:33
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
Thee Mad Hatter
Sunday, November 22, 2026 14:27:53
from
Philippines
via
Telnet
Uryu Ishida
Sunday, November 22, 2026 03:13:58
from
Lake Ozark, Missouri
via
Telnet
Thee Mad Hatter
Sunday, November 22, 2026 02:18:19
from
Philippines
via
Telnet
Wang Bu
Saturday, November 21, 2026 15:23:34
from
Manila, Philippines
via
Telnet
System Info
Sysop:
Jacob Catayoc
Location:
Pasay City, Metro Manila, Philippines
Users:
5
Nodes:
4 (
0
/
4
)
Uptime:
498677:28:44
Calls:
212
Calls today:
3
Files:
910
D/L today:
31 files
(22,593K bytes)
Messages:
69,826