From 0bb283954b65a7913b1f304442b6a941f5856d73 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 12 Mar 2015 10:12:18 -0700 Subject: Add a favicon and compile all files down --- src/feline.sh | 19 ------------------- src/nolink.sh | 14 -------------- 2 files changed, 33 deletions(-) delete mode 100644 src/feline.sh delete mode 100644 src/nolink.sh (limited to 'src') diff --git a/src/feline.sh b/src/feline.sh deleted file mode 100644 index d293b9c..0000000 --- a/src/feline.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -cat *.txt | \ - sed -e '/^---$/,/^...$/d' \ - -e '/!\?\[.*\]\((.*)\|:.*\)/d' | \ - sed -e 's/["_~.!?,():;<>{}#|*]//g' \ - -e 's/\]\[/ /g' \ - -e 's/-/ /g' | \ - sed -e 's/ /\n/g' | \ - sed -e '/^$/d' \ - -e '/^\\$/d' | \ - sed -e 's/\[\?\(.*\)\]\[.*\]/\1/g' \ - -e 's/\]\[\]//g' \ - -e 's/^\[//' | \ - sort | \ - uniq | \ - sort - -# [feline.sh][] diff --git a/src/nolink.sh b/src/nolink.sh deleted file mode 100644 index b4d6c3e..0000000 --- a/src/nolink.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -unlinks=( $(grep -L '\[.*\]\[.*\]' *) ) -total_things=$(ls | wc -l) - -if [[ -n $1 && $1 == "-l" ]]; then - echo ${unlinks[@]} | tr ' ' '\n' -else - echo "${unlinks[$((RANDOM %= $((${#unlinks[@]}))))]}" - echo "(${#unlinks[@]} of $total_things still to link.)" -fi - - -#[no link][] -- cgit 1.4.1-21-gabe81