view bin/addquote @ 5370:f52a82ebde65

<oren> gcc scrip7.c -lm -fwrapv -o bin/scrip7
author HackBot
date Thu, 21 May 2015 22:12:55 +0000
parents 7f957c1f4661
children
line wrap: on
line source

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