On Friday 14 June 2002 07:15 pm, John Summerfield wrote:
> > I have input files that contain lines with variables like
> >
> > HOSTNAME=$THISHOST
>
> In my environment HOSTNAME is already set by bash. You should use another
> name.

Or just make it lowercase, "hostname". :-) I usually make my variables lower
case (or mixed case) anyway, because most of the implicit constants are
upper case and this makes collisions less likely.

Scott

--
-----------------------+------------------------------------------------------
Scott Courtney         | "I don't mind Microsoft making money. I mind them
[EMAIL PROTECTED]       | having a bad operating system."    -- Linus Torvalds
http://4th.com/        | ("The Rebel Code," NY Times, 21 February 1999)

Reply via email to