personal-website

source for my personal website regexghost.com
git clone https://git.regexghost.com/personal-website.git
Log | Files | Refs | README

handle-escapes.sh (124B)


      1 #!/bin/sh
      2 
      3 inputFile="$1"
      4 
      5 sed -E 's/\\c-off ?/<\/span>/g' "$inputFile" |\
      6 sed 's/\\c-\([a-z]*\) /<span class="text-\1">/g'