diff --git a/Makefile b/Makefile index ee83608..c9e731d 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ articles != find * -type f -name "*.md" db.rec: $(articles) printf '%s\n' '%rec: guide' > $@ + printf '%s\n' '%type: wordcount int' >> $@ printf '%s\n\n' '%sort: title' >> $@ for x in $^ ; do \ sed -n '2,/^---$$/ {/^---$$/d; p}' "$$x" |\ @@ -17,6 +18,9 @@ db.rec: $(articles) tr -d '"' ;\ printf "file: %s\n\n" "$$x" ;\ done >> $@ + for entry in $^; do \ + recset $@ -e "file = '$${entry}'" -f wordcount --set-add="$$(wc -w < $${entry})" ;\ + done recsel $@ -e "requires != ''" -CR title,requires |\ while read title requires; do \ IFS=', ' && for provider in $$requires; do \ diff --git a/README.md b/README.md index 65b2eca..4ed35a6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ --- -title: "Knowledge Base" +title: "Linux Knowledge Base" --- -# Linux Knowledgebase - -This is a list of quickstart guides for Linux programs, designed to get the user up and running as fast as possible. +The Linux Knowledge-Base provides quick-start guides for working with terminal programs. # Style @@ -79,12 +77,14 @@ ss -tr dst :$PORT - Often presumes you know everything except that one program. - Often written in the 80's, and it shows. - Zero respect for your time. +- Often references `info` pages (yuck). ## curl cheat.sh/ - Doesn't have the programs I like. - Too short to get you started on many programs. - Poor understanding of priority (`git stash` is covered before `git commit`). +- Repetitive # Current State