Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 097dd4e9e72d844830e823e5746f6c3b > files > 26

swish-e-2.4.7-1mdv2010.0.i586.rpm

#!/bin/sh

# Example of a shell script filter

# Simple filter for binary files (eg: exe files) 

# Note: This is just an example of a shell script.  In general you would not
# use a shell script to just call a program -- rather call the program directly from
# swish using a FileFilter command.
# e.g. FileFilter .exe strings "'%p'"

strings "$1" - 2>/dev/null