ref: d9eecc2d1a05bee01d8dc8d7c331f78c223bdce3
dir: /rc/bin/ape/ar89/
#!/bin/rc
flagfmt='c,d,p,r,t,u,v,x'
args='archive [files ...]'
if(! ifs=() eval `{aux/getflags $*} || ~ $#* 0) {
	aux/usage
	exit usage
}
key=''
for(i in c d p r t x u v)
	if(f=flag$i ~ $#$f 1)
		key=$key$i
exec /$cputype/bin/ar $key $*