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
Thu Mar 19 01:49:18 2026
from
Afganistan, Miami
via
Telnet
Guest
Wed Mar 18 09:58:06 2026
from
Vilnius, Lithiania
via
Telnet
Guest
Sun Mar 8 08:55:47 2026
from
Jkl
via
SSH
Guest
Fri Jan 2 22:29:10 2026
from
Minneapolis, Mn
via
Telnet
System Info
Sysop:
Coz
Location:
Anoka, MN
Users:
2
Nodes:
4 (
0
/
4
)
Uptime:
493115:57:11
Calls:
392
Files:
6,772
Messages:
241,714