changeset 12116:e1ce00d00682 draft

<fizzie> sled /hackenv/bin/addquote//s|quotes|${HACKENV-/hackenv}/quotes|
author HackEso <hackeso@esolangs.org>
date Sat, 16 Nov 2019 23:05:39 +0000
parents 77998d6dfbd4
children bd76992a2fec
files bin/addquote
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/addquote	Sat Nov 16 22:53:52 2019 +0000
+++ b/bin/addquote	Sat Nov 16 23:05:39 2019 +0000
@@ -1,4 +1,4 @@
 #!/bin/sh
 [ "$1" ] || exit 1
-printf "%s\n" "$1" >>quotes
+printf "%s\n" "$1" >>${HACKENV-/hackenv}/quotes
 printf "%d) %s" $(qc | cut -d' ' -f1) "$1"