view bin/addquote @ 257:444ee2968b51

<nortti> run { for i in *; do fortune; echo '---' ; done; } | paste
author HackBot
date Tue, 17 Apr 2012 19:29:01 +0000
parents e037173e0012
children ae1e95df9af4
line wrap: on
line source

#!/bin/sh
[ "$1" ] || exit 1
printf "%s\n" "$1" >>quotes
echo $(qc | cut -d' ' -f1)") $1"