view bin/learn @ 4492:02775a0b8839

<ion> sed -i -re \'s/echo ("?)\\$[@*]\\1 /print_args_or_input "$@" /g\' bin/complain bin/ord bin/ordu
author HackBot
date Sat, 22 Feb 2014 02:38:07 +0000
parents 02be2e278897
children 03afb1619ef2
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."