Today's #APOD's a looker ;)
Date: 2026 February 02
URL: https://apod.nasa.gov/apod/ap260202.html
Title: Orion: The Running Man Nebula
Today's #APOD's a looker ;)
Date: 2026 February 02
URL: https://apod.nasa.gov/apod/ap260202.html
Title: Orion: The Running Man Nebula
P.S., the body of the parent #toot was created by a simple #shell #function:
function apod {
#Today's NASA Astronomy Picture of the Day info-fetcher
curl -sL 'https://apod.nasa.gov/apod/archivepix.html' \
|grep -m1 "[0-9][0-9]:" \
|sed 's/^/Date: /;
s|: *<a href="|\nURL: https://apod.nasa.gov/apod/|;
s/">/\nTitle: /; s/<.*$//'
echo
echo "#NASA #Astronomy #PictureOfTheDay"
}
#bash #ksh #mksh #shellScripting #unix #UnixShell #WebScraping #Scraping #HTML
@rl_dane I've been getting into a shell called Elvish. https://elv.sh/
It lets you pipe around structured data like you find in modern programming languages, like arrays, maps, floating-point numbers, and the like. As well as normal POSIX byte streams.
It's not compatible with POSIX shells like Bash though, BTW.
Interesting, isn't that kind of what #PowerShell promised?
@rl_dane It does actually remind me of PowerShell in a few ways, but in a good way. I'll keep learning it and find out more of what I think.
Random but with `*` filename matching, you can use modifiers in brackets. Yesterday I did `mkdir old` and then wanted to do `mv * old`, but found out I could instead do `mv *[but:old] old`.
Also TUI file selector via Ctrl+L.
When I find something I like, I end up feeling like a salesman and I don't like it 😆
> When I find something I like, I end up feeling like a salesman and I don't like it 😆
No shame in that, I'm still waiting for my fat commission check from Big #BSD. 😂
@rl_dane That said, the shell executable itself is about 10.4MB. Which is a drawback for me....
WOOF. That's a chonkerexec.
rld@Intrepid:~$ ll $(realpath $(which bash)) $(which sh) $(which mksh); uname -srm
-r-xr-xr-x 1 root wheel 168,728 Jun 6 2025 /bin/sh
-rwxr-xr-x 1 root wheel 1,312,072 Jan 14 19:18 /usr/local/bin/bash
-r-xr-xr-x 1 root wheel 326,816 Jan 12 19:04 /usr/local/bin/mksh
FreeBSD 14.3-RELEASE-p5 amd64
@golemwire @rl_dane interesting, but looking at the age of the last release, I'll keep using #PowerShell instead