#!/bin/bash for f in debian/tmp/usr/bin/*; do if objdump -p $f | grep -q libptscotch_64.so; then echo $f | sed "s|debian/tmp/||"; fi; done