Re: cvs: php4 /scripts credits
| From: | Adam Maccabee Trachtenberg | Date: | Wed, 13 Mar 2002 19:53:42 +0000 |
| Subject: | Re: cvs: php4 /scripts credits | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-10082@lists.php.net to get a copy of this message | ||
On Wed, 13 Mar 2002, Jason Greene wrote:
> - awk "$awkprog" $what/*/CREDITS | sort -f >> $file
> + # Do not process skeleton #
> + files=
find "$what" -name CREDITS | grep -v
> "$what"/skeleton/CREDITS
> + awk "$awkprog" $files | sort -f >> $file
> done
No need for grep, you can use find directly.
find "$what" -name CREDITS -not -path "$what/skeleton/CREDITS'
For that matter, you can probably -exec the awk script, too.
-adam
--
adam maccabee trachtenberg
adam@trachtenberg.com