Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/rc/df
#!/bin/rc rfork e ventihttp=`{echo $venti | sed 's/^[a-z]+!([0-9\.]+)![a-z0-9]+$/\1/ s/^[a-z]+!([0-9\.]+)/\1/; s/$/:8000/'} hget http://$ventihttp/storage >[2] /dev/null | grep total