State name restrictions.
[rsc] --rwxrwxr-x M 399900 glenda sys 1457 Sep 26 15:01 rc/bin/patch/create
/n/sourcesdump/2005/0926/plan9/rc/bin/patch/create:6,12 -
/n/sourcesdump/2005/0927/plan9/rc/bin/patch/create:6,12
}
if(! echo $1 | grep -s '^[a-z_0-9.\-]+$'){
- echo bad name
+ echo 'bad name: [a-z0-9._\-]+ only' >[1=2]
exit usage
}
[rsc] --rw-rw-r-- M 399900 glenda sys 2237 Sep 26 15:00 sys/man/1/patch
/n/sourcesdump/2005/0926/plan9/sys/man/1/patch:35,40 -
/n/sourcesdump/2005/0927/plan9/sys/man/1/patch:35,41
used to propose additions or changes to Plan 9.
Each patch has a
.I name
+ (lowercase letters, numbers, dash, dot, and underscore only)
and is stored in
.BI /n/sources/patch/ name \fR.
.PP
|