[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: find'ing files containing certain words (all of them) ...



On 22 September 2013 12:55, David <bouncingcats@gmail.com> wrote:

>     if [ -n "${files[*]}" ] ; then

oops, that line above (#7 from the end) works ok but it will run
faster if changed to this more modern bash syntax:

if [[ -n "${files[*]}" ]] ; then

(I was writing makefiles yesterday, I got stuck in the habit of using
the older syntax :)


Reply to: