view bin/slashlearn @ 5859:0bcc9899de90

<tswett> le/rn fundamental theorem of Taneb/The Fundamental Theorem of Taneb states that for all strings S, if S describes a thing, then it is provable that Taneb invented the thing described by S; and, furthermore, that it is provable that there exists a string T that describes a thing that Taneb did not invent.
author HackBot
date Wed, 22 Jul 2015 15:27:49 +0000
parents e281f5947a6a
children 9c7426991c5f 9c603f748542
line wrap: on
line source

#!/bin/bash
topic=$(echo "$1" | lowercase | cut -d / -f 1)
[ -z "$topic" ] && exit 1
value=$(echo "$1" | cut -d / -f 2-)
echo "$value" > wisdom/"$topic" && echo "Learned «$topic»"