ref: 9da3fda9e080e052b3e6851f73f9207a6f39fa4a
parent: a4313f26facb302a3089d98f158ccd248ce734db
author: stanley lieber <stanley.lieber@gmail.com>
date: Fri Mar 16 08:58:01 EDT 2012
hget: -p should work the same as in old hget
--- a/rc/bin/hget
+++ b/rc/bin/hget
@@ -51,8 +51,8 @@
echo -n headers $i >[1=0]
if(~ $#m 1)
echo -n request $m >[1=0]
- if(~ $#p 1)
- cat <$p >$d/postbody
+ if(! ~ $#p 0)
+ echo $"p >$d/postbody
<$d/body { if(~ $#o 1){ l=`{cat $d/contentlength >[2]/dev/null}--
⑨