Mercurial > repo
view bin/addquote @ 994:ce3361c199b9
<shachaf> cat quotes | paste
author | HackBot |
---|---|
date | Sun, 09 Dec 2012 09:37:23 +0000 |
parents | ae1e95df9af4 |
children | d70bcf1800e0 |
line wrap: on
line source
#!/bin/sh [ "$1" ] || exit 1 printf "%s\n" "$1" >>quotes printf "%d) %s" $(qc | cut -d' ' -f1) "$1"