shithub: riscv

ref: 970d3b7eb7dc56aa84924dd68c4c39fd1df5d1f5
dir: /rc/bin/webpaste/

View raw version
#!/bin/rc
if(~ $#* 0)
	file=/fd/0
if not
	file=$1
hpost -u http://okturing.com -p / a_body@$file submit:submit fake:fake a_func:add_post url: |
grep -e '\/body\"' |
sed 1q | sed 's/^.*href=\"//g; s/body\".*$/body/g'