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

Re: Updating /etc/hosts automatically / behavior of sed command

Tad Frank wrote:
Your issue lies in the line: sed -e "s/$REGISTERED_IP/$CURRENT_IP/g" /etc/hosts > /etc/hosts.new

I searched debian-devel for the message to which you are responding;
the most recent message with that subject header dates from December 1999.

Yes, people were dynamically updating /etc/hosts in 1999 but I hope that
no one has to do that any longer.  :)
Thomas Hood

Reply to: