paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 27998a37473c40df14f50d733531358f2ea3baf0
parent d2c646c23937ad5a6aa9927c1b408a33c440ac3c
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sun, 24 May 2020 19:51:24 -0400

Fix italicization of update in recent blog post

Diffstat:
Mpages/blog/rewriting-my-static-site-generator.md | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pages/blog/rewriting-my-static-site-generator.md b/pages/blog/rewriting-my-static-site-generator.md @@ -41,11 +41,12 @@ POSIX-compliant so it is as portable as possible. My script used to require bash but now it should work with any POSIX-compliant shell. It should also now only be using POSIX-compliant flags in POSIX programs. -_**Update:** After further testing, I've switched from using `tput` to ANSI +<em>**Update**: After further testing, I've switched from using `tput` to ANSI escape codes for colours, added the `-e` flag to the `sed` commands, and added a newline everytime I use the `a` or `i` command with `sed`. These changes were required to get the script to work on FreeBSD. As long as pandoc is available on -a system, the script should now be portable between all *nix systems (I hope)._ +a system, the script should now be portable between all *nix systems (I +hope).</em> This new script clocks in at 7207 bytes, 235 total lines, and 180 source lines of code as of the time of writing. This is in comparison to the old script's