view bin/addquote @ 12405:d014559a5542 draft

<oerjan> karma+ Hooloovoo
author HackEso <hackeso@esolangs.org>
date Fri, 18 Jun 2021 00:32:10 +0100
parents e1ce00d00682
children
line wrap: on
line source

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