diff bin/delquote @ 752:cb4e90411d82

<fizzie> run sed -ie 's/echo "\*poof\*/printf "*poof*%s" "/' bin/delquote
author HackBot
date Thu, 04 Oct 2012 21:26:27 +0000
parents e037173e0012
children d70bcf1800e0
line wrap: on
line diff
--- a/bin/delquote	Thu Oct 04 21:26:16 2012 +0000
+++ b/bin/delquote	Thu Oct 04 21:26:27 2012 +0000
@@ -4,6 +4,6 @@
 head -n $((id-1)) quotes >quotes.new
 tail -n +$((id+1)) quotes >>quotes.new
 diff quotes quotes.new >/dev/null && exit 1
-echo "*poof*$(quote $id | cut -d')' -f2-)"
+printf "*poof*%s" "$(quote $id | cut -d')' -f2-)"
 mv quotes.new quotes