view bin/addquote @ 1283:8f92a8c0aeb4

<shachaf> echo $\'#!/bin/bash\\nexec translatefromto "auto no $1"\' > bin/translatetoerjan; chmod +x bin/translatetoerjan
author HackBot
date Mon, 07 Jan 2013 01:28:09 +0000
parents ee2e8950bb3c
children 48427dffea8d
line wrap: on
line source

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