Plan 9 from Bell Labs’s /usr/web/sources/contrib/nemo/sys/src/cmd/mail2fs/Reply

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
# Do not edit this file. Edit /sys/src/cmd/mail2fs/... instead


rfork ne
cat $file >/dev/snarf >[2]/dev/null
addr=`{sed 1q $file >[2]/dev/null}
if (~ $addr From:*)
	addr=`{echo $addr | sed 's/From: //'}
if not
	addr=''
omail -n $1 $"addr
exit ''

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.