File: make-symbol-list.sh

package info (click to toggle)
libnice 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,840 kB
  • sloc: ansic: 19,186; sh: 11,071; makefile: 348
file content (6 lines) | stat: -rwxr-xr-x 142 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
#!/bin/sh
test -n "$1" || exit 1
nm --print-file-name --defined-only --extern-only "$1" | \
	cut -d ' ' -f 2,3 | \
	grep -v '^[rA]' | \
	sort