3 ms·
I agree in that a shell script is not the best platform for a blogging engine. However, 1. It has literally zero dependencies (other from bash, of course) whic
by carlesfe 12y ago
I agree in that a shell script is not the best platform for a blogging engine. However,
1. It has literally zero dependencies (other from bash, of course) which is kind of the goal of bashblog
2. If you examine the code you will notice it's clean. The engine is about 200 lines, the rest are HTML and CSS templates.
3. I don't agree that a shell script should be less than 100 lines, more or less. A single function? Of course. But a whole module? I disagree. As long as the code is clean, understandable and consistent, I don't see why not!
What I'm trying to say is that the mantra of "shell scripts should be used only to copy files and run make" isn't correct. Shell programming is a thing, and I believe bashblog is a good example of that.