Re: line lengths in /etc/hosts

2013-03-27 Thread Walter Hurry
On Wed, 27 Mar 2013 01:57:48 -0700, Perry Hutchison wrote: > Is there a limit on line length in FreeBSD's /etc/hosts? > > I'm not finding any mention of such a limit in hosts(5), but characters > beyond the first 660 or so seem to be ignored. > > To answer the inevitable followup "why would anyo

Re: line lengths in /etc/hosts

2013-03-27 Thread Erich Dollansky
Hi, On Wed, 27 Mar 2013 10:09:29 +0100 Erik Nørgaard wrote: > On 27 Mar 2013, at 09:57, per...@pluto.rain.com (Perry Hutchison) > wrote: > > > Is there a limit on line length in FreeBSD's /etc/hosts? > > > > I'm not finding any mention of such a limit in hosts(5), but > > characters beyond the

Re: line lengths in /etc/hosts

2013-03-27 Thread Erik Nørgaard
On 27 Mar 2013, at 09:57, per...@pluto.rain.com (Perry Hutchison) wrote: > Is there a limit on line length in FreeBSD's /etc/hosts? > > I'm not finding any mention of such a limit in hosts(5), but > characters beyond the first 660 or so seem to be ignored. > > To answer the inevitable followup "

Re: line lengths in /etc/hosts

2013-03-27 Thread Polytropon
On Wed, 27 Mar 2013 01:57:48 -0700, Perry Hutchison wrote: > I can easily suppress access to unwanted web sites by adding > names to the localhost line in /etc/hosts, like this: > > 127.0.0.1 localhost localhost.my.domain bad1.com bad2.com ... > > My version of that line has gotten rather lon