summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-02-17 23:55:05 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-02-17 23:55:05 +0100
commitf00c8f66bda62018c95afb9e8b9009e8657bcb1d (patch)
tree36db009202a40f11a438199ad02b0ac5321b26f4
parentdf4310025b67ce4a619cea5b07dd77c971997d74 (diff)
downloaddevtools-f00c8f66bda62018c95afb9e8b9009e8657bcb1d.tar.gz
devtools-f00c8f66bda62018c95afb9e8b9009e8657bcb1d.tar.xz
escape line breaks in find command
-rwxr-xr-xlddd12
1 files changed, 6 insertions, 6 deletions
diff --git a/lddd b/lddd
index 1e6b16f..2c327b8 100755
--- a/lddd
+++ b/lddd
@@ -19,12 +19,12 @@ for tree in $PATH $libdirs $extras; do
echo DIR $tree
# Get list of files in tree.
- files=$(find $tree -type f ! -name '*.a' ! -name '*.la' ! -name '*.py*' ! -name '*.txt' ! -name '*.h' ! -name '*.ttf' !
- -name '*.rb' ! -name '*.ko' ! -name '*.pc' ! -name '*.enc' ! -name '*.cf' ! -name '*.def' ! -name '*.rules' ! -name
- '*.cmi' ! -name '*.mli' ! -name '*.ml' ! -name '*.cma' ! -name '*.cmx' ! -name '*.cmxa' ! -name '*.pod' ! -name '*.pm'
- ! -name '*.pl' ! -name '*.al' ! -name '*.tcl' ! -name '*.bs' ! -name '*.o' ! -name '*.png' ! -name '*.gif' ! -name '*.cmo'
- ! -name '*.cgi' ! -name '*.defs' ! -name '*.conf' ! -name '*_LOCALE' ! -name 'Compose' ! -name '*_OBJS' ! -name
- '*.msg' ! -name '*.mcopclass' ! -name '*.mcoptype')
+ files=$(find $tree -type f ! -name '*.a' ! -name '*.la' ! -name '*.py*' ! -name '*.txt' ! -name '*.h' ! -name '*.ttf' ! \
+ -name '*.rb' ! -name '*.ko' ! -name '*.pc' ! -name '*.enc' ! -name '*.cf' ! -name '*.def' ! -name '*.rules' ! -name \
+ '*.cmi' ! -name '*.mli' ! -name '*.ml' ! -name '*.cma' ! -name '*.cmx' ! -name '*.cmxa' ! -name '*.pod' ! -name '*.pm' \
+ ! -name '*.pl' ! -name '*.al' ! -name '*.tcl' ! -name '*.bs' ! -name '*.o' ! -name '*.png' ! -name '*.gif' ! -name '*.cmo' \
+ ! -name '*.cgi' ! -name '*.defs' ! -name '*.conf' ! -name '*_LOCALE' ! -name 'Compose' ! -name '*_OBJS' ! -name '*.msg' ! \
+ -name '*.mcopclass' ! -name '*.mcoptype')
IFS=$ifs
for i in $files; do
if [ `file $i | grep -c 'ELF'` -ne 0 ]; then