OK, it's 19:50 and I'm spending the evening messing around with bash. Fairly standard for Linux users, I admit.
But I'm reading the GNU manual for bash - and enjoying it! Just as well because I've got some weird bash syntax that was kindly given to me on accu-general and I have to explain it in an article about a bash script. Here it is:
stub="${filename%.*}"
It is clever. There is some code to ensure that the filename is valid - that it ends in .HTML or .html. But, trying to trip it up, it still works perfectly. Like this:-
input = stuff.html/hello.html
return value = 0
result = stuff.html/hello.md
Why? I will read on and find out...
I spent a couple of hours this morning merging four pages of where I've found inspiration for running TTRPGs ( Traveller ) to be more specific. I watched a couple of episodes of Star Trek : Enterprise hoping to soak up some inspiration.