Plan 9 from Bell Labs’s /usr/web/sources/contrib/maht/blogger/action-write
#!/bin/rc cat /fd/$1 | { switch($2) { case new blogger/new $username $blog_id case [0-9]*[0-9] # well what you call it blogger/update $username $blog_id $2 } }