shithub: rc

ref: ef3df0131aee8f4e68d02da7d9c6037c66bd44e2
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