shithub: rc

ref: 05158bda287766580ed5e8e3416d0046678c7d3b
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