From e91eaa89c9f71dc223562350a8421d775227beb7 Mon Sep 17 00:00:00 2001 From: ewt Date: Tue, 4 Mar 1997 02:07:12 +0000 Subject: made xargs more resilant to quoting characters in filenames CVS patchset: 1466 CVS date: 1997/03/04 02:07:12 --- autodeps/linux.req | 2 +- autodeps/solaris.req | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autodeps/linux.req b/autodeps/linux.req index 3f8c209db..f4914aca8 100644 --- a/autodeps/linux.req +++ b/autodeps/linux.req @@ -8,5 +8,5 @@ filelist=`xargs -r file | fgrep executable | cut -d: -f1 ` for f in $filelist; do ldd $f | awk '/=>/ { print $1 }' -done | sort -u | xargs -r -n 1 basename | sort -u +done | sort -u | | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u diff --git a/autodeps/solaris.req b/autodeps/solaris.req index 3f8c209db..f4914aca8 100644 --- a/autodeps/solaris.req +++ b/autodeps/solaris.req @@ -8,5 +8,5 @@ filelist=`xargs -r file | fgrep executable | cut -d: -f1 ` for f in $filelist; do ldd $f | awk '/=>/ { print $1 }' -done | sort -u | xargs -r -n 1 basename | sort -u +done | sort -u | | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u -- cgit v1.2.3