File: findsharedlib.sh

package info (click to toggle)
klayout 0.30.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292,204 kB
  • sloc: cpp: 2,068,428; ruby: 47,823; xml: 26,924; python: 14,404; sh: 1,812; tcl: 212; perl: 170; makefile: 112; ansic: 42
file content (11 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [ $# -gt 0 ]; then
	find $1 -type f | grep -E "\.(so|dylib)$"
else
	echo "### Usage of 'findsharelib.sh' ###"
	echo "   To find shared libraries *.[so|dylib] under a <root_dir>"
	echo ""
	echo "   $ findsharelib.sh <root_dir>"
	echo ""
fi