On 07/04/2013 01:46 PM, Rob J. Epping wrote:

Hi,

On Jul 4, 2013 12:23 AM, "Paul Gear" <observium@gear.dyndns.org> wrote:
>
> Chris, your script is functionally identical to David's. Changing variables to upper case and leaving out the quotes will make no difference.

Quotes do make a difference when there is a space in the file. Because of the quotes it will become part of the hostname.


In the scripts that David & Chris have used, each word in the file would cause a separate iteration of the loop, so there are no circumstances under which $NODE in Chris' script would be different to "$file" in David's.

Paul