this looks nice!
came here to mention bollux1, and am glad to see they mention it under Inspired By. i like bollux because it looks nice, it supports gemini and gopher, it prints links to stdout, so you have a breadcrumb trail / history upon exit (which i guess you could even redirect to a history.txt) and it uses less(1) as its pager so it feels very familiar and natural.
I like it too, wish the name was different though.
astro seems to be based around coreutils? (doesn’t play well on macOS, just various tools the script invokes complaining, such as dd)
dd is the only way to read a single character using posix sh, which seems to be what theyre targeting. no idea what dd macos uses.
you could edit it to have a /bin/bash shebang and use read -n1 instead of dd there. not sure what else you’d need to tweak.
im really impressed that they made a pager in sh in so few lines! something I was considering for bollux for quite a while, lol. I think I over thought it, in fact this script makes me think I overthought a lot of things!
ps about the name ‘bollux’: bc it started as a Gemini browser, I wanted to give it a name like one of the twins – Pollux. then I just put a B at the front for ‘bash’!
Ahh, so you weren’t being childish? (completely unaware of Pollux, I assumed it was a way of saying script was nonsense by calling it bol**cks but in a different spelling). I suspect it would be worth adding that description to the manual or README.
Edit, I made that assumption because bollux is in the dictionary as such.
what no how would that be childish?
Childish by resorting to vulgarity. (remember this is based on not getting the Pollux reference and looking bollux up in the dictionary)