Pop-Up Thingie
Sidebar
Digital Distortion
Home
Forum
Files
Web Monitor
Dark
Log in
Username
Password
Sidebar
Forum
FIDO
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)
Web-based telnet client
Other Links
What is a BBS?
Doors installed on this BBS
Digital Distortion Doors & Tools
Door stats
Trivia scores
Message networks
Terminal software
Emulated games
Synchronet archiver setup
Ready.gov anti-terrorist guidelines as of 2003
Other services
Telnet
RLogin
IRC
Email & news access
Feel free to
send me an email
.
BBS UPS stats
Who's Online
System Info
Sysop:
Eric Oulashin
Location:
Beaverton, Oregon, USA
Users:
124
Nodes:
16 (
0
/
16
)
Uptime:
00:13:22
Calls:
7,812
Calls today:
4
Files:
9,388
D/L today:
536 files
(510M bytes)
Messages:
398,966
Posted today:
1