Plan 9 from Bell Labs’s /usr/web/sources/contrib/nemo/root/sys/src/cmd/mail2fs/pipefrom.example
#!/bin/rc rfork ne ramfs cat >/tmp/msg.$pid cat /tmp/msg.$pid | upas/send $* echo From $user >/tmp/msgo.$pid cat /tmp/msg.$pid >>/tmp/msgo.$pid mail2fs -a /tmp/msgo.$pid exit ''