WordBash

The WordPress clone written in GNU Bash

header image
Posted on Oct 18, 2013 14:35PM

Introduction to WordBash

WordBash is a Bash Shell Script

WordBash is written, if you do not already know, in Bash, the GNU Bourne-Again SHell. All content is generated by a shell script. All comments are parsed, stored and displayed by Bash. And when I say the code is written in Bash, I mean (with only one exception explained later): No SED. No AWK. No TR. Just 100% Bash.

It has been tested with Linux, Mac OS-X and Windows/Cygwin. Bash at least 3.2 is required.

These posts will describe WordBash in detail, and make some claims about it. Ultimately though, of course, the code gets the last word.

Code is there: download page.

Touched 05202024

7 Comments
#1 WordBash on Feb 2, 2014 17:13PM said:

Comments have HTML stripped, long words trimmed, links rejected...

And lines are turned into paragraphs.

#2 Hey on said:

Foo!

#3 Foo on May 20, 2024 11:51AM said:

Bar

#4 Foo on May 20, 2024 12:25PM said:

Hey perp...
Ah, this is created and displayed by 100% (PURE) BASH. Now, the code behind this only makes it LOOK LIKE A WORDPRESS SITE because what you see is the HTML that any "cms" fucking software HAS TO USE for OUTPUT.

#5 Foo on May 20, 2024 12:26PM said:

But since the CODE THAT READS THE "database" (and reads/writes these COMMENTS) is about 2,000 LINE OF BASH!

#6 Foo on May 20, 2024 12:27PM said:

... (continuing directly)
WORDPRESS is SHOWN TO BE MASSIVE AND MISERABLE CODE...
(haha)

#7 Bar on Feb 17, 2026 12:59PM said:

*sigh*

Leave a Reply

Comment length is limited, all HTML will be stripped and do not submit links.

0m0.016s 0m0.012s 0m0.005s 0m0.002s