File: findstrip

package info (click to toggle)
perforate 1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 208 kB
  • sloc: perl: 449; ansic: 297; makefile: 8; sh: 3
file content (18 lines) | stat: -rwxr-xr-x 569 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -

#
# findstrip 1.00 - find programs that are not stripped
#
# Oleg Kibirev * April 1995 * oleg@gd.cs.CSUFresno.EDU
#
# This code is covered by General Public License, version 2 or any later
# version of your choice. You should recieve file "COPYING" which contains
# text of the license with any distribution of this program; if you don't 
# have it, a copy is available from ftp.gnu.ai.mit.edu.
#


find . -xdev -type f \! \( -name '*.o' -o -name '*.so.*' -o -name 'lib*' -o -name '*.do' \) -print |
xargs file |
awk -F: '$2 ~ /not .*strip/ { print $1 }'