shithub: rc

ref: c0403e2bf7ec0122ff0cc93a8f92a7e80ad74b9f
dir: /bin/dw/

View raw version
#!/bin/rc
if(~ $1 -o){
	of=1
	shift
}
for(i in $*){
	f=`{echo $i | sed -n 's,.*/([^/]+)$,\1,p'}
	if(! ~ $#of 0 || ! test -e $f)
		echo $f'
'$i
} | xargs -n 2 -p 10 hget -o