Plan 9 from Bell Labs’s /usr/web/sources/contrib/rsc/scripts/phoneca

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


#!/bin/rc

tail -1 -f  /usr/rsc/call.log | awk 'NR==1{next}
	NF != 7 {next}
	$5 == "i-" || $5 == "ip" {
		s = sprintf("(echo ''\n%s''; tel %s) | upasname=phoneca mail rsc",
			$0, $NF);
		system(s);
	}'  


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.