Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/spf/spfdd

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


#!/bin/rc
# usage: cat /sys/log/spf/debug | spfdistrib 
# the grep thing is to select the new lof format:
# date <tab> command <tab> status
grep 'CET' | awk '{  
						split($4,a,":"); 
						day[$1]++;
					} END { 
						for(i in day ) { 
							print i " " day[i];
						} 
					}' 
# | gview

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.