3 ms·
Source for the mentioned script: https://github.com/0intro/plan9/blob/master/rc/bin/who https://github.com/0intro/plan9/blob/master/rc/bin/who. Also, other util
by forgotpwd16 6y ago
Source for the mentioned script: https://github.com/0intro/plan9/blob/master/rc/bin/who https://github.com/0intro/plan9/blob/master/rc/bin/who.
Also, other utilities implemented as scripts are fshalt (P9's shutdown), kill, lookman (P9's apropos), uptime and whois.
- jf 6y agoDoes anybody know why there are line breaks in the sed command?
- deleted 6y ago[deleted]
- forgotpwd16 6y agoIt runs multiple expressions. That is sed '/pattern1/d pattern2/d' is the same with sed '/pattern1/d; /pattern2/d' and sed -e '/pattern1/d' -e '/pattern2/d' I believe those are portable across all `sed` implementations, and they at least work with GNU `sed --posix` and plan9port's sed.
- jf 6y agoThank you! This is exactly the kind of reply I was hoping for.