Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/rc/list/of

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


#!/bin/rc
# list/of - print path for upas patternfile

if(~ $#* 0){
	echo >[1=2] usage: list/of name
	exit usage
}

if(! test -f /mail/box/$user/$1){
	echo >[1=2] of: ''''$1'''': list does not exist
	exit nolist
}
echo /mail/box/$user/$1

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.