about summary refs log tree commit diff stats
path: root/src/feline.sh
diff options
context:
space:
mode:
authorCase Duckworth2015-03-02 16:46:17 -0700
committerCase Duckworth2015-03-02 16:46:17 -0700
commitb5f04621a188ffd07463d66c233601a32e970f11 (patch)
tree75c85f12a99057b73a938337ee425f46bdb99e30 /src/feline.sh
parentTouch css/* (diff)
downloadautocento-b5f04621a188ffd07463d66c233601a32e970f11.tar.gz
autocento-b5f04621a188ffd07463d66c233601a32e970f11.zip
First complete src/ linking complete
Diffstat (limited to 'src/feline.sh')
-rw-r--r--src/feline.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/feline.sh b/src/feline.sh new file mode 100644 index 0000000..d293b9c --- /dev/null +++ b/src/feline.sh
@@ -0,0 +1,19 @@
1#!/bin/bash
2
3cat *.txt | \
4 sed -e '/^---$/,/^...$/d' \
5 -e '/!\?\[.*\]\((.*)\|:.*\)/d' | \
6 sed -e 's/["_~.!?,():;<>{}#|*]//g' \
7 -e 's/\]\[/ /g' \
8 -e 's/-/ /g' | \
9 sed -e 's/ /\n/g' | \
10 sed -e '/^$/d' \
11 -e '/^\\$/d' | \
12 sed -e 's/\[\?\(.*\)\]\[.*\]/\1/g' \
13 -e 's/\]\[\]//g' \
14 -e 's/^\[//' | \
15 sort | \
16 uniq | \
17 sort
18
19# [feline.sh][]