ref: cc459aa7ab048282b71999bc61f4fb515e052d4a
parent: 1d62e1d8c88c4698a7d8da6a510fb1c7d6da9cf1
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Sat Sep 15 02:25:32 EDT 2012
hget: fix -p to not put a newline into the postbody at the end
--- a/rc/bin/hget
+++ b/rc/bin/hget
@@ -53,7 +53,7 @@
if(~ $#m 1)
echo -n request $m >[1=0]
if(! ~ $#p 0)
- echo $"p >$d/postbody
+ echo -n $"p >$d/postbody
<$d/body { if(~ $#o 1){ l=`{cat $d/contentlength >[2]/dev/null}--
⑨