view bin/addquote @ 8567:e6618ef70252

<shachaf> mkx bin/"//quote; quote
author HackBot
date Wed, 22 Jun 2016 19:22:23 +0000
parents 56dcce63901b
children e1ce00d00682
line wrap: on
line source

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