ref: 3fc055a3f967c9a56e93d4c6882b60c25609ebdc dir: /bin/dw/
#!/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