1 2 3 4 5 6 7
#!/bin/sh for i in "$@"; do echo "$i:" lddsafe -n $i|awk '{ print $3 }'| xargs lddsafe -n | sed 's,^, ,' echo done