view bin/learn_append2 @ 9987:259fde34b72a

<Jafet> ` echo \'#!/bin/cat\' >quines/cat && chmod +x quines/cat
author HackBot
date Thu, 15 Dec 2016 02:19:48 +0000
parents 56dcce63901b
children
line wrap: on
line source

#!/bin/bash
topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
echo "$1" >>"wisdom/$topic"
echo "I knew that."