diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-09-15 06:25:32 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-09-15 06:25:32 +0200 |
commit | cc459aa7ab048282b71999bc61f4fb515e052d4a (patch) | |
tree | 33160d0faae56a1b9f9aeea52ccc664befe62e14 /rc/bin/hget | |
parent | 1d62e1d8c88c4698a7d8da6a510fb1c7d6da9cf1 (diff) | |
download | plan9front-cc459aa7ab048282b71999bc61f4fb515e052d4a.tar.xz |
hget: fix -p to not put a newline into the postbody at the end
Diffstat (limited to 'rc/bin/hget')
-rwxr-xr-x | rc/bin/hget | 2 |
1 files changed, 1 insertions, 1 deletions
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} |