💾 Archived View for station.martinrue.com › gnuserland › 6e0fa1ea6971418dacbdc8405baa69ec captured on 2024-06-16 at 14:25:24. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-12)
-=-=-=-=-=-=-
Can't get "gemlog.sh" by ~nytpu working on FreeBSD, looks like is too "linuxy".
Is there anyone that was able to make it work or can suggest me a similar alternative that works on FreeBSD?
Thanks in advance! ☺
2 years ago
For future geminauts that might find their way to this thread: my changes were upstreamed about two months ago. You can just use nytpu's script now.
https://git.sr.ht/~nytpu/gemlog.sh/ · 2 years ago
https://git.sr.ht/~nytpu/gemlog.sh/
@Lykso I am terribly sorry, I was able to test your script only today but I realized I never downloaded your code and unfortunately it is expired; unless you put it somewhere else. ^^: · 2 years ago
Good luck! I hope it works for you when you do finally get to try it out. 😊 · 2 years ago
@lykso I believe I won't be able to test the script today either. ☹
I think I am able to start testing the script next Monday!
Promise! · 2 years ago
I won't be able to test it until Monday... 😞 · 2 years ago
I've noticed that the script submits nytpu's gemlog to Antenna every time it's run, rather than submitting the user's own gemlog. I've fixed that and re-uploaded the script, so you might want to re-download it if you've already downloaded it at this point. · 2 years ago
Here it is: gemini://lyk.so/temp/gemlog.sh
The only differences from the original script are:
- It uses the "hhmm" timezone format from the ISO spec instead of the "hh:mm" format. I figured this was a reasonable difference to allow, since it is still in compliance with the spec.
- ":z" was being used in the <updated> tags on the post items instead of the actual timezone offset, so I fixed that as well.
Tested on Debian and OpenBSD. Will be submitting a patch soon. Let me know if you encounter any problems. · 2 years ago
gemini://lyk.so/temp/gemlog.sh
@lykso Nice!!! I don't code hence I opened the file, I cried, and then I closed it! ^^; · 2 years ago
I feel like taking a script containing Bash-isms and making it POSIX-compliant (or BSD-friendly, anyway) today. Working on it now. · 2 years ago
It looks like the script won't work on BSD:
- By removing date dependency, gemlog.sh now runs correctly on macOS (BSD date is not compatible with GNU date conversion syntax)
Never mind I am going to update my capsule and atom feed manually... · 2 years ago