Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/rc/hi
#!/bin/rc grep -e '^'^$sysname^'% ' /dev/text | sed 's/^'^$sysname^'% //' | sort | uniq | grep -v '^$'