On Mon, 18 August 2014, at 1:16 pm, Kerin Millar <kerfra...@fastmail.co.uk> wrote: ... > (( count += matches )) > done < <(grep -hcm1 -F "$string" ${files[*]})
Oh, this is lovely. I've learned some things today. > if (( count == ${#files[@]} )); then May I ask why you prefer these brackets for evaluation, please? Stroller.