changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / rc/bin/webpaste

changeset 7243: 34f64dcbbc25
parent: 192be1470c05
author: cinap_lenrek@felloff.net
date: Fri, 17 May 2019 18:14:10 +0200
permissions: -rwxr-xr-x
description: 7l: don't hardcode 4k pagesize, use INITRND
1 #!/bin/rc
2 if(~ $#* 0)
3  file=/fd/0
4 if not
5  file=$1
6 hpost -u http://okturing.com -p / a_body@$file submit:submit fake:fake a_func:add_post url: |
7 grep -e '\/body\"' |
8 sed 1q | sed 's/^.*href=\"//g; s/body\".*$/body/g'