ref: 44ddd85077ea0369ccd6337ef30b9909422e3ad5
parent: 17aa60dd6e2e608fcb153786345064b095cba7a8
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}--
⑨