#!/bin/rc
rfork e
if(~ $#* 0){
echo 'usage: issue/remove issue-name state' >[1=2]
exit usage
}
# Doesn't (yet?) exist
#tracker=/n/sources/issue
tracker=./test
#if(~ $tracker /n/sources/issue){
# if(! test -d /n/sources/issue){
# rfork n
# 9fs sources
# }
#}
if(! test -d $tracker/$2/$1)
echo 'no such issue' $tracker/$2/$1 >[1=2]
if not
rm -rf $tracker/$2/$1
|