From cc459aa7ab048282b71999bc61f4fb515e052d4a Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 15 Sep 2012 06:25:32 +0200 Subject: hget: fix -p to not put a newline into the postbody at the end --- rc/bin/hget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc') diff --git a/rc/bin/hget b/rc/bin/hget index e7e9fab32..7b3223223 100755 --- a/rc/bin/hget +++ b/rc/bin/hget @@ -53,7 +53,7 @@ if(! ~ $s 0) 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} -- cgit v1.2.3